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

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.
Reply
#2
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  cant access root environment folder from django folder using __init__.py Sanjish 0 1,873 Dec-25-2020, 05:56 AM
Last Post: Sanjish
  upload folder in server ftp falloff 3 8,142 Nov-02-2018, 09:46 PM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020