Skip to content
This repository has been archived by the owner on May 10, 2019. It is now read-only.

Make folders2flickr work with Python 3 #30

Open
ikwyl6 opened this issue Jun 18, 2014 · 1 comment
Open

Make folders2flickr work with Python 3 #30

ikwyl6 opened this issue Jun 18, 2014 · 1 comment

Comments

@ikwyl6
Copy link

ikwyl6 commented Jun 18, 2014

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
Copy link
Owner

richq commented Jun 19, 2014

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.

@richq richq changed the title SyntaxError: invalid syntax Make folders2flickr work with Python 3 Jun 19, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants