richq / folders2flickr

Upload files to flickr
Other
102 stars 38 forks source link

Make folders2flickr work with Python 3 #30

Open ikwyl6 opened 10 years ago

ikwyl6 commented 10 years ago

When I run the script I get this:

$ ./folders2flickr File "./folders2flickr", line 9 except IOError, ex: ^ SyntaxError: invalid syntax Where the pointer is located under the comma after IOError.

Using python: Python 3.4.1

richq commented 10 years ago

That's because it has not been ported to Python 3 yet. The first line has "#!/usr/bin/env python" so should pick up the default python 2 in the path, it's unusual to have that pointing to python3.

I'll change the title of the issue to reflect the real problem here... but it's a biggie.