gummy.utils.coloring_utils module¶
Utility programs for coloring output.
-
gummy.utils.coloring_utils.
toGRAY
(x)¶ Convert the output color to GRAY
- Parameters
x (str) – string
Examples
>>> from gummy.utils import toGRAY >>> print(toGRAY("hoge")) hoge
-
gummy.utils.coloring_utils.
toRED
(x)¶ Convert the output color to RED
- Parameters
x (str) – string
Examples
>>> from gummy.utils import toRED >>> print(toRED("hoge")) hoge
-
gummy.utils.coloring_utils.
toGREEN
(x)¶ Convert the output color to GREEN
- Parameters
x (str) – string
Examples
>>> from gummy.utils import toGREEN >>> print(toGREEN("hoge")) hoge
-
gummy.utils.coloring_utils.
toYELLOW
(x)¶ Convert the output color to YELLOW
- Parameters
x (str) – string
Examples
>>> from gummy.utils import toYELLOW >>> print(toYELLOW("hoge")) hoge
-
gummy.utils.coloring_utils.
toBLUE
(x)¶ Convert the output color to BLUE
- Parameters
x (str) – string
Examples
>>> from gummy.utils import toBLUE >>> print(toBLUE("hoge")) hoge
-
gummy.utils.coloring_utils.
toPURPLE
(x)¶ Convert the output color to PURPLE
- Parameters
x (str) – string
Examples
>>> from gummy.utils import toPURPLE >>> print(toPURPLE("hoge")) hoge
-
gummy.utils.coloring_utils.
toCYAN
(x)¶ Convert the output color to CYAN
- Parameters
x (str) – string
Examples
>>> from gummy.utils import toCYAN >>> print(toCYAN("hoge")) hoge
-
gummy.utils.coloring_utils.
toWHITE
(x)¶ Convert the output color to WHITE
- Parameters
x (str) – string
Examples
>>> from gummy.utils import toWHITE >>> print(toWHITE("hoge")) hoge
-
gummy.utils.coloring_utils.
toREVERSE
(x)¶ Convert the output color to REVERSE
- Parameters
x (str) – string
Examples
>>> from gummy.utils import toREVERSE >>> print(toREVERSE("hoge")) hoge
-
gummy.utils.coloring_utils.
toACCENT
(x)¶ Convert the output color to ACCENT
- Parameters
x (str) – string
Examples
>>> from gummy.utils import toACCENT >>> print(toACCENT("hoge")) hoge
-
gummy.utils.coloring_utils.
toFLASH
(x)¶ Convert the output color to FLASH
- Parameters
x (str) – string
Examples
>>> from gummy.utils import toFLASH >>> print(toFLASH("hoge")) hoge
-
gummy.utils.coloring_utils.
toRED_FLASH
(x)¶ Convert the output color to RED_FLASH
- Parameters
x (str) – string
Examples
>>> from gummy.utils import toRED_FLASH >>> print(toRED_FLASH("hoge")) hoge