AndreaCensi / compmake

Compmake is a non-obtrusive module that provides Makefile-like facilities (including parallel processing) for batch Python applications.
http://compmake.org/
Other
17 stars 6 forks source link

question: how can I use a colored prompt using raw_input()? #49

Closed AndreaCensi closed 10 years ago

AndreaCensi commented 14 years ago

I want to use a colored prompt like ipython. This doesn't work:

 line = raw_input(colored('@: ', 'cyan'))

because raw_input cannot interpret the string correctly.