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

Suggestion to upgrade http.py script to use Python3 #7

Open
gregoryfoster opened this issue Feb 11, 2017 · 0 comments
Open

Suggestion to upgrade http.py script to use Python3 #7

gregoryfoster opened this issue Feb 11, 2017 · 0 comments

Comments

@gregoryfoster
Copy link

The legis-graph project favors Python3 so I was surprised to find the http.py script requires Python2. I went through an exercise of upgrading the script to Python3, which turned out to be a little tricky since the script filename happens to override the http.server module namespace! I wanted to be sure to note that for future reference, and would be happy to update the project with the minimal changes necessary to make it Python3-compliant:

  • Rename http.py to legis-graph-guides-server.py
  • Update http.py to use http.server module
  • Update legis-graph/render.sh reference to http.py

After making these changes, I'm successfully playing the guides in the Neo4j browser. Thank you!

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

1 participant