jakobzhao / geog571

Advanced Web Mapping @ Oregon State University
GNU General Public License v3.0
13 stars 7 forks source link

Starting up a web server with Python 3 #2

Open ghost opened 5 years ago

ghost commented 5 years ago

Bo,

The new repo looks great!

I was following along the tutorial in the lec03 readme and came across this command to start up a web server:

$ python -m SimpleHTTPServer 80

The SimpleHTTPServer command works for Python 2, but for Python 3 it should read http.server:

$ python -m http.server 80

https://stackoverflow.com/questions/17351016/set-up-python-simplehttpserver-on-windows

-Brian

jakobzhao commented 5 years ago

Thank you! Will integrate with my course material later!