Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

print() is a function in Python 3 #1260

Closed
cclauss opened this issue Aug 16, 2018 · 1 comment
Closed

print() is a function in Python 3 #1260

cclauss opened this issue Aug 16, 2018 · 1 comment
Assignees

Comments

@cclauss
Copy link

cclauss commented Aug 16, 2018

flake8 testing of https://github.com/tensorflow/magenta on Python 3.7.0

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./magenta/video/next_frame_prediction_pix2pix/join_pairs.py:88:38: E999 SyntaxError: invalid syntax
  print 'looking for recursive img in', path
                                     ^
./magenta/video/tools/convert2jpg.py:79:34: E999 SyntaxError: invalid syntax
  print 'looking for all files in', path
                                 ^
./magenta/video/tools/random_pick.py:67:61: E999 SyntaxError: invalid syntax
    print 'path in == path out, that is not allowed, quiting'
                                                            ^
./magenta/video/tools/extract_frames.py:130:28: E999 SyntaxError: invalid syntax
  print 'argument to expand', ARGS.video_in
                           ^
4     E999 SyntaxError: invalid syntax
4
@cghawthorne
Copy link
Contributor

FYI, @dh7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants