On Sun, Feb 13, 2011 at 3:37 PM, Richard Heck <rgh...@comcast.net> wrote: > On 02/13/2011 09:24 AM, Paul A. Rubin wrote: >> >> I swapped a few e-mails with her and eventually discovered that she has >> Python >> 3.1 installed. I suspect that might be the culprit but can't be sure. >> Has >> anyone tested the various Python scripts against Python 3? >> > I think we have been trying to avoid this. I think I did do some stuff with > lyx2lyx, running it with whatever that flag is that warns you about Python 3 > incompatibilities, but that is all I did. Plainly, we need to do this with > all of our scripts. > > Richard > >
in my limited experience - Writing python code running in both 2.6 and 3 is possible, for 2.5 and 3.x it can turn out pretty hard. How to: http://wiki.python.org/moin/PortingPythonToPy3k If we can't control the environment, python 2 is not a bad choice to stick for a while: http://wiki.python.org/moin/Python2orPython3 automated code conversion might help at some point: http://docs.python.org/library/2to3.html cheers, /p