pystyle icon indicating copy to clipboard operation
pystyle copied to clipboard

colors

Open KashperIsCool opened this issue 2 years ago • 8 comments

what colors can i use?

KashperIsCool avatar May 18 '22 19:05 KashperIsCool

if your just looking for colors I would use colorma.

Itamar1337 avatar Aug 06 '22 14:08 Itamar1337

Yes, but pystyle offers a lot more colors than colorama. And also colorama can "break" the terminal.

billythegoat356 avatar Aug 06 '22 15:08 billythegoat356

Yes, but pystyle offers a lot more colors than colorama. And also colorama can "break" the terminal.

I agree but if your looking for the simple colors such as blue red green yellow black white(simple colors) then i would go for colorma

If your looking for a bit more complex & customizable then I would use pystyle

Itamar1337 avatar Aug 06 '22 16:08 Itamar1337

For simple colors yes you could use colorama 😁

billythegoat356 avatar Aug 06 '22 16:08 billythegoat356

For simple colors yes you could use colorama 😁

By the way mind showing me an example using the "error" function?

Itamar1337 avatar Aug 06 '22 16:08 Itamar1337

Colorate.Error is pretty og It will just use \n while coloring the text in red.

print(Colorate.Error(" Error! This file does not exist!"))

billythegoat356 avatar Aug 06 '22 16:08 billythegoat356

Colorate.Error is pretty og It will just use \n while coloring the text in red.

print(Colorate.Error(" Error! This file does not exist!"))

Mind attaching a screenshot of result? Not near my computer at the moment.

Itamar1337 avatar Aug 06 '22 16:08 Itamar1337

i don't have my computer too 😅 but it just skips a line and color the text in red. really basic

billythegoat356 avatar Aug 06 '22 18:08 billythegoat356