Python One Line Web Server


/ Published in: Python
Save to your folder(s)



Copy this code and paste it in your HTML
  1. # will listen on port 8000
  2. # http://127.0.0.1:8000
  3.  
  4. python -m SimpleHTTPServer

URL: http://www.garyrobinson.net/2004/03/one_line_python.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.