In article <[email protected]>,
Stephen Hansen <me+list/[email protected]> wrote:
>>
>> Uhmm, just add the parenthesis to your old scripts. You can
>> do that without breaking on 2.x.
>
>Only sort of. But in Python 2.6+, you only need to "from __future__
>import print_function" to make code work in both 2.x and 3.x (at least
>insofar as the print situation is concerned).
Nice. Once 100% of the installed base is at 2.6, I'll finally be able
to write code that compatible with 3.0.
--
-Ed Falk, [email protected]
http://thespamdiaries.blogspot.com/
--
http://mail.python.org/mailman/listinfo/python-list