Share Files between devices in the network using python:

Rishavmehra
Feb 19, 2021

Create a new folder (share)

FOLDER

Add the file in this (share)folder will be accessible by other devices

FILES

Now open the Command Prompt and follow your folder path. In my case E:\test\share

PATH

Type the following python command:

For python3 -> python -m http.server 1560

For python2 -> python -m simpleHTTPserver 1560

Python command

Open another Command Prompt and type ipconfig

ipconfig

See IPv4 Address header. For ip address

IPv4

Open any brower and type the following in the search box :

IN MY CASE

192.168.43.149:1560

here, 192.168.43.149 is the IP address and 1560 is the port

BROWSER

Need any help contact me on Twitter.

Thanks everyone for reading :)

--

--