I need coloured text for a game I’m making. Is there any possible way I could do this in PyCharm?
I’ve tried :
import sys
try:
color = sys.stdout.shell
except AttributeError:
raise RuntimeError("Use IDLE")
but of course, it’s not idle. How can I fix this?
New contributor
Eric Sandu Prisacaru is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.