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

Currently #4 in both post count, and rep. wavic and buran, I'm coming for you...

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Ho to get all the caontact details from exchange server in python ppsingh22688 0 148 Feb-13-2018, 09:20 AM
Last Post: ppsingh22688
  Begginer - How to choose a server to run my Python script with MongoDB? Mapl 1 399 Oct-24-2017, 01:02 PM
Last Post: DeaD_EyE

Forum Jump:

Users browsing this thread: 1 Guest(s)