Posted By

laurenceosx on 11/07/09


Tagged

python


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

magicrebirth
louscomp
saman


Python One Line Web Server


 / Published in: Python
 

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

  1. # will listen on port 8000
  2. # http://127.0.0.1:8000
  3.  
  4. python -m SimpleHTTPServer

Report this snippet  

You need to login to post a comment.