Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
brown9-2
on Jan 6, 2012
|
parent
|
context
|
favorite
| on:
Clint, Command Line Library for Python
Looks to me like colored.red(string) just calls ColoredString(color, string), so you could use that version if you want to parameterize the color argument.
print ColoredString("red", "some text")
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: