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

python http module only available in Python 3 #226

Open
alexpearce opened this issue Dec 2, 2016 · 0 comments
Open

python http module only available in Python 3 #226

alexpearce opened this issue Dec 2, 2016 · 0 comments
Labels

Comments

@alexpearce
Copy link
Member

In the "contributing" lesson, we say users can start a local web server with

$ python -m http.server

Python 2 doesn't have the http module. The equivalent would be

$ python -m SimpleHTTPServer

We could either add a callout, or maybe just specify the Python version in the command, e.g.

$ python2 -m SimpleHTTPServer
@alexpearce alexpearce added the Easy label Dec 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant