filmov
tv
How to Serve and Download File Using Python in Linux | Easy Method

Показать описание
Python's SimpleHTTPServer module is a useful and straightforward tool that developers can use for a number of use-cases, with the main one being that it is a quick way to serve files from a directory.
Python 2
python -m SimpleHTTPServer 8000
Python 3
Limitations -
* You can download one file at a time with default config.
* You can't upload files with this method
Subscribe our channel for more tech stuff.
Python 2
python -m SimpleHTTPServer 8000
Python 3
Limitations -
* You can download one file at a time with default config.
* You can't upload files with this method
Subscribe our channel for more tech stuff.