Files can be easily shared among multiple devices over a local network by starting a http server using tools provided by python standard library, the module http.server on python3.X or SimpleHTTPServer on python2.X
Twisted is a better option for performance, you have to install dependencies from Twistd
Change working directory to required location
Type in the following in a Terminal
For Python 2.X
1 |
|
using Python 3.X
1 |
|
using Twisted , twisted in both faster and can serve multiple files simultaneously
1 |
|