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

Update for python3 and move top level into if block #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

simeonmiteff
Copy link

I made some changes to be able to import ndiff as a module into an existing python3 project.

  • Update the print statements to python3 style
  • Replace iteritems() to items() (python3)
  • Move the top level code into if __name__=="__main__": block.

Not sure if you'd need additional updates to the README or elsewhere (#! line?) to explicitly require python3. Hope this is useful.

- Update the print statements to python3 style
- Replace iteritems() to items() (python3)
- Move the top level code into `if __name__=="__main__":` block.
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.

1 participant