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

Support Python 3 #22

Merged
merged 1 commit into from
Oct 10, 2022
Merged

Support Python 3 #22

merged 1 commit into from
Oct 10, 2022

Conversation

owenwater
Copy link
Contributor

  • Convert dict.keys() to list(dict.keys())
  • Convert print msg to print(msg)
  • Convert print >> sys.stderr msg to print(msg, file=sys.stderr)

Also add from __future__ import print_function to keep the Python 2 support

@joegoerlich
Copy link

thanks, this fixed my issues with python3 from macadmins/python

@timsutton timsutton merged commit 4453600 into timsutton:master Oct 10, 2022
@timsutton
Copy link
Owner

Sorry for the long delay in looking at this, thanks for the contribution @owenwater!

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

Successfully merging this pull request may close these issues.

3 participants