Open In App

Access files of a devices in the same network using Python

We have so many ways to Transfer Files from one computer to another in Linux and Ubuntu but there we have to change the permissions of the Apache Folder and then Share the files. But in windows, we cannot share files using Apache so here we have discussed Python Method to Share files between Systems and Mobiles which are connected on the same network.

Python is an interpreter, User Friendly, and easy Language. Python has a vast number of modules in it. Here we have used http.server module for Sharing of files between the Systems Connected on the same Network. This module is used for defining HTTP Servers(Web Servers). Servers are software or hardware that processes requests and deliver data to a client.



Step-by-Approach:

python -m http.server



In this way, one can easily access files in a device in the same network.

Article Tags :