How to transfer files within a LAN using the Python library

Source: Internet
Author: User
This article mainly introduces the use of Python library in the local area network transfer files, has a certain reference value, and now share to everyone, the need for friends can refer to

1. The computer has built a Python environment

2. Go deep into the file directory you want to transfer, and share the Nemo-huiyuanfei file here as an example

3. Enter cmd in the path bar and press ENTER to enter the terminal

4. Enter command python-m simplehttpserver 8090 Press ENTER (port number can be arbitrary without having to 8090)

5. In the LAN, any browser input box input file host IP + Port can access this file directory and download ()

6. Click on the file you want to download to download

7. "Note" Python3. The command input for X is python-m http.server 8090

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.