semvec/pypi-packages huggingface dataset:
consolecolor-BD103 0.0.1
A package that lets you print colorful text. Does not work for Windows.
Requires Python: >=3.6

# Console Colors (Package)
Find me on [Github](https://github.com/BD103/consolecolors).
### About
The Color Codes Package is a single .py file that you can import into your own console python project.
### How to Install
#### Single File
Copy all the text from *color.py* and paste it in on whatever Python file you need to run these functions. With this, all functions and setup will be imported.
#### Multi-Files
Copy all text from *color.py*. Make a file in your own project and also call it *color.py*. Paste in the code. Next, open up the file that will be running these functions and type *from color import \* *. If you are using Repl.it, than it thinks that this is formatted wrong. If that's the case, write the following instead: *from color import color, paint*.
### Commands
**color(text, color)** - Writes the text on a line in the color supplied. This is basically a print function, but with another variable required. An example is typing *color("Hello World", "yellow")*. This would than print "Hello World" in yellow.

**paint(color)** - Sets the console color, so that all of the following text printed will be in this color. For instance, if I enter *paint("red")* than I enter *print("Example Text")*, than the "Example Text" will be red.
### Optional Color Variables
If you are writing any of these commands a lot, than you know it can be annoying to type all those parenthesese. I added an optional feature, where you don't have to write those annoying double quotes, just the color name. This is done automatically if you have a single file setup, but if you have a multi-file setup, type the following: *from color import red, yellow, green, cyan, blue, magenta, black, white*.
consolecolors-BD103 0.0.1
A package that lets you print colorful text. Does not work for Windows.
Requires Python: >=3.6

# Console Colors (Package)
Find me on [Github](https://github.com/BD103/consolecolors).
### About
The Color Codes Package is a single .py file that you can import into your own console python project.
### How to Install
#### Single File
Copy all the text from *color.py* and paste it in on whatever Python file you need to run these functions. With this, all functions and setup will be imported.
#### Multi-Files
Copy all text from *color.py*. Make a file in your own project and also call it *color.py*. Paste in the code. Next, open up the file that will be running these functions and type *from color import \* *. If you are using Repl.it, than it thinks that this is formatted wrong. If that's the case, write the following instead: *from color import color, paint*.
### Commands
**color(text, color)** - Writes the text on a line in the color supplied. This is basically a print function, but with another variable required. An example is typing *color("Hello World", "yellow")*. This would than print "Hello World" in yellow.

**paint(color)** - Sets the console color, so that all of the following text printed will be in this color. For instance, if I enter *paint("red")* than I enter *print("Example Text")*, than the "Example Text" will be red.
### Optional Color Variables
If you are writing any of these commands a lot, than you know it can be annoying to type all those parenthesese. I added an optional feature, where you don't have to write those annoying double quotes, just the color name. This is done automatically if you have a single file setup, but if you have a multi-file setup, type the following: *from color import red, yellow, green, cyan, blue, magenta, black, white*.