Share files through your devices with Python

You can easily access to a shared folder among your devices with Python. You may want to share files among a pc and a tablet or another pc that you have connected on the same wifi. You can do it vey easily with Python.

Let’s see how

Open the cmd and type

python -m http.server

Now open the browser and go to localhost:8000

Now you can have access to your files via the browser.

How to get into that folder from another device

Go in the cmd and type ipconfig

Find the address IpV4.

It is something like 168…… or whatever.

Go in the device you want to access to that folder and type in the browser:

168…………:8000

You will see what is there in the folder of the other device.

files.

Published by pythonprogramming

Started with basic on the spectrum, loved javascript in the 90ies and python in the 2000, now I am back with python, still making some javascript stuff when needed.