[Tutor] re:colors in python
kiran at mhowlinux.org
kiran at mhowlinux.org
Thu Feb 26 07:58:37 EST 2004
u would need either ncurses library
or Wconio
if u are using windows py 2.2
find attached Wconio library for py 2.2
which does it very simply like in borland turbo pascal/c
simply
import WConio
WConio.textcolor(5)
print "test"
ps: works only in console mode....(black) screen not under IDLE
Beware the lollipop of mediocrity: lick it once and you suck forever
www.mhowlinux.org- Helping Linux users in Mhow
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.580 / Virus Database: 367 - Release Date: 2/6/2004
u would need either ncurses library
or Wconio
if u are using windows py 2.2
find attached Wconio library for py 2.2
which does it very simply like in borland turbo pascal/c
simply
import WConio
WConio.textcolor(5)
print "test"
ps: works only in console mode....(black) screen not under IDLE
Beware the lollipop of mediocrity: lick it once and you suck forever
www.mhowlinux.org- Helping Linux users in Mhow
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.580 / Virus Database: 367 - Release Date: 2/6/2004
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20040226/3b673b91/attachment.html
More information about the Tutor
mailing list