Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Create a web server pointing to a folder using python

Please help me in creating the webserver pointing to a folder using python programming.

At present am using cmd line argument 

python -m SimpleHTTPServer 8888

But now i want to implement using python code.
Twisted is pretty good. But really, if you're serving static/flat files, you should use something that's been doing that for a while, like nginx or apache.
It's dangerous to go alone!  Take this: https://docs.python.org/3/library/index.html
Kevin Flynn is my spirit animal.

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Begginer - How to choose a server to run my Python script with MongoDB? Mapl 1 180 Oct-24-2017, 01:02 PM
Last Post: DeaD_EyE

Forum Jump:

Users browsing this thread: 1 Guest(s)