I'm in the process to learning Python 3.1, and need to convert a bunch of handy functions I wrote and stole over several years. They are all written in 2.x, and are together in one file, mycalc.py.
I created a folder E:\Python31\temp\ (my OS is Vista SP1 64-bit), and in it I placed copies of mycalc.py, 2to3.py, and a folder, lib2to3\ . Then I tried E:\Python31\temp>2to3.py -w mycalc.py and got Traceback (most recent call last): File "E:\Python31\temp\2to3.py", line 2, in <module> from lib2to3.main import main File "E:\Python31\temp\lib2to3\main.py", line 33 except os.error as err: ^ SyntaxError: invalid syntax How have others dealt with this? Dick Moores _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor