3 ms·
I've had three main use cases: 1. Running an HTTP server in a directory, so people can connect to my hotspot and get a listing of the files. (I've done this tw
by lynndotpy 4y ago
I've had three main use cases:
1. Running an HTTP server in a directory, so people can connect to my hotspot and get a listing of the files. (I've done this twice, for sharing movies.) This is easy enough to do with `python -m http.server 12345`, and this lets you get a file on nearly any single device with a webbrowser in it.
2. SSHing into my various servers, or getting a file off my home machine that I forgot that I need.
3. Python is a general-purpose calculator for me, so I primarily use Termux instead of a calculator app.
- seanw444 4y agoI have to concur with #1 primarily. I do this all the time. #2 and #3 I do less frequently myself, but I use qalc instead of Python for a calculator (handles units and algebra).
- folmar 4y agoYou can use the BSD-licensed "Share via HTTP" app that does the same thing but interacts nicely with Android share menu. https://f-droid.org/en/packages/com.MarcosDiez.shareviahttp/ https://f-droid.org/en/packages/com.MarcosDiez.shareviahttp/