Every now and then, I need a fast way to share a file from my computer or access something from another device on my network.
Instead of setting up anything complicated, I just make use of Python’s http.server module, which serves the current directory,
or I provide --directory /path/to/dir if I want to serve something else.
Command:
python3 -m http.server
Top comments (0)