Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jacobolus
on Jan 22, 2011
|
parent
|
context
|
favorite
| on:
Python, the Web and Little Things on my Mind
You can use:
from __future__ import print_function
And then print() should work as expected in Python 2.6+. That is, print(1, 2, 3) will print '1 2 3' instead of '(1, 2, 3)'.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: