Python trick - copy file among computers in LAN network
The conventional way of file transfer between PCs, is via thumb drive.
Some time the file size are too large and not able to copy to FAT thumb drive.
Now, let's play a little trick...
Open up a terminal, and
cd to the directory that the files you want to copy over.
$ cd /path/to/file-dir
$ python -m SimpleHTTPServer
Serving HTTP on 0.0.0.0 port 8000 ...
The 2nd line actually serve as a HTTP server in current directory.
Now open up another terminal, and type
en1: flags=8888<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::66:5555:cccc:d666%en1 prefixlen 64 secured scopeid 0x6
inet 192.168.0.122 netmask 0xffffff00 broadcast 192.168.0.255
Now you found out your IP is
Another PC where you need the files
Open up browser and type the URL 192.168.0.122:8000, you will see
Just click on the files you need, and download it :)