Skip to content

Steyaertc23/cprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cprint

What is cprint?

cprint is an easy way to print using colors.

How do I use it?

All you have to do is call the

cprint()

function. It takes in 2 or 3 arguments. First, what you want to output. Second, what color you want the text to be, and last, if you desire a certain style you can enter it.

What are the colors?

The allowed colors are
  • red
  • light_red
  • yellow
  • green
  • lime
  • blue
  • cyan
  • purple
  • brown

What are the styles?

The allowed styles are
  • bold
  • faint
  • italic
  • underline
  • blink
  • negative
  • striketrough

Ex:

from cprint import cprint
cprint("Hello World!", "cyan", "negative")

This outputs the following: Command line with code output

Use it more it see more options!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages