On 06/04/2014 12:54, Chris Angelico wrote:
On Sun, Apr 6, 2014 at 9:32 PM, Mark Lawrence <breamore...@yahoo.co.uk> wrote:
I'd recommend using this import statement in Python 2 so you get used to
print being a function.

from __future__ import print_function

Or better still, just write Python 3 code - then you get to take
advantage of all the fancy new features :)

ChrisA


I meant to say, "If you're stuck with Python 2 ..." :(

--
My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language.

Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com


--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to