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

Conversation

Beachman4
Copy link

I also changed the print statement to use print() instead of how it was. This may have been an issue for me, but the print statement was not working for me.

Beachman4 added 4 commits July 8, 2017 04:04
I had issues with printing not working how it was, switching to this type of printing worked for me, might just be a me thing
@Xuxe
Copy link
Owner

Xuxe commented Jul 8, 2017

Looks good so far for #5 . The difference between print and print as function is python2 and python3.
For python2 it is print for python3 print() .

Personally i only tested it on python2, so far i unterstand it is working for you on python3 with the changes?

I'm currently not sure if we should hold python2 support. Because Debian 8 there is python2 still default AFAIK, it may causes confusion for the user.

If we go to python3 we should alse change the interpreter header to python3 for systems where python2 is still default.

@irgendwr
Copy link

irgendwr commented Aug 3, 2017

Using the print function is fine for both versions (and makes sense for compatibility reasons) BUT you have to import the new print function by adding

from __future__ import print_function

as the very first import to make it work for python 2

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

Successfully merging this pull request may close these issues.

3 participants