In this video we're going to see how you could share files in your local area networks(LANs) using Python.
httpserver is a useful Python Utility that helps us in accomplishing this.
Using the private ip address of the host server we can access the files shared through any device within the local network.
The command used : py -m http.server [OPTIONAL_PORT_NUMBER]
This would then launch the server @ : http://localhost:8000/
Now to access the contents using some other devices like your PC or Android Phone find the ip address of your laptop or the host system by typing in "ipconfig" in the command prompt.
Then look for the ipv4 address, it will be of the form 192.168.x.x
Type in this ip address in your phone followed by a colon (:) and port number and then you could instantly access files from your laptop into your phone!
This video is about:
python file server
python simplehttpserver
python simplehttpserver upload file
simplehttpserver python 3
python simplehttpserver directory
python send file to another computer
python simplehttpserver windows
Auf dieser Seite können Sie das Online-Video Share Files from Laptop to Phone using Python HTTP Server mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Aditya Pai Thon 21 Dezember 2018 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 18,305 Mal angesehen und es wurde von 261 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!