Skip to content

A small one-file implementation of a webserver able to send files and process browser requests

License

Notifications You must be signed in to change notification settings

Vasile2k/python-webserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

python-webserver

A small one-file implementation of a webserver able to send files and process browser requests.

If you want more install Apache, this is just a little tool with minimal support of everything.

Prerequisities

Usage

To use this tool call it with the following command:

python server.py -p XXXX -dir YYYY

or to be more explicit:

python server.py --port XXXX --directory YYYY

The -p argument is the port on what the server should run and -dir in the directory with the website files. Remember to have an index.html in the website folder.

License

Additional details

Contact

If you have any problems, contact me and I will try to help you. You can find me here.

About

A small one-file implementation of a webserver able to send files and process browser requests

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages