Python implements a simple HTTP server (supports file upload and download)

Source: Internet
Author: User
Tags file upload

1. Python built-in moduleSimpleHTTPServer  (支持下载功能)

Under the corresponding working directory, run the command python-mSimpleHTTPServer 即可把当前目录下以共享服务的形式共享出去。

External access can be accessed by accessing: HTTP://IP: Port number (default port is 8000)

Port can be specified : SimpleHTTPServer 8081 python-m

2. Woof module

Http://www.home.unix-ag.org/simon/woof.html

3, droopy module (support upload function)

NET Official document: HTTP://STACKP.ONLINE.FR/?P=28

Droopy Module Installation: Pip Install-i http://pypi.douban.com/simple Droopy (after the module is installed, the droopy file needs to be generated manually)

Droopy file: Https://yunpan.cn/cqIZFqcWEhwmA access password d803

Python implements a simple HTTP server (supports file upload and download)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.