Serve current directory tree on a web server

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

Directory listing on a web server at http://yourhost:8000/

Copy this code and paste it in your HTML
  1. python -m SimpleHTTPServer 8888
  2. python -m SimpleHTTPServer (opens at port 8000 by default)

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.