colorclass
colorclass copied to clipboard
Colorful worry-free console applications for Linux, Mac OS X, and Windows.
Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
Fixes https://github.com/Robpol86/colorclass/issues/25
For packaging, it is useful to run the tests from the source tarball to verify the packaging is correct.
As the title says, the current version is incompatible with [f strings in Python 3.6](https://www.python.org/dev/peps/pep-0498/). ``` >>> print(Color("{autored}hi{/red}")) hi >>> print(Color(f"{autored}hi{/red}")) File "", line 1 (/red) ^ SyntaxError: invalid syntax...
``` Python 2.7.13 (default, Jul 24 2017, 20:13:18) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from colorclass import Color >>> s = 'This...