None
Project description
SCPrint
(Simple Colored Print
)
Description
Coming Soon...
Installation
$ python -m pip install scprint
Usage
# To override the built-in print function use (Recomended):
from scprint import print
print("Hello World!", color="cyan")
# To retain the built-in print function use:
from scprint import print as newFunction
newFunction("Hello World!", color="cyan")
Demo
import scprint
scprint.demo()
Examples
from scprint import print
print("Hello", color="red", back_color="blue", end=" ")
punctuation = "!"
print("World", punctuation, color="blue", back_color="red", sep="")
from scprint import print
colors = ["red", "yellow", "green", "cyan", "blue", "magenta"]
word = "Multicolored Text"
for i in range(len(word)):
print(list(word)[i], color=colors[i%len(colors)], end="")
More Coming Soon...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
scprint-0.0.0b1.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for scprint-0.0.0b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5a902a0c692c4b8406edf96bffee93fc51b46e76e3b555c30a0ad2092523a1c |
|
MD5 | 66b16cccf93f4c9703e66a32853eeb23 |
|
BLAKE2b-256 | 7ab23c90470694179b5e1f80835730a0a151ffbfa736ac98344e0142dfd68371 |