Skip to content

Instantly share code, notes, and snippets.

View tilast's full-sized avatar
🤓

Ihor Kroosh tilast

🤓
View GitHub Profile
@tilast
tilast / python-cli.sh
Created April 26, 2016 09:19 — forked from nepsilon/3-python-module-you-can-use-on-cli.md
3 Python modules you can use directly on the CLI
# Start a local webserver to serve the file of your current directory on the LAN:
# Python version 2.x:
python -m SimpleHTTPServer
# Python version 3.x:
python3 -m http.server
#Start a local SMTP server to debug your app emails. Emails will be printed on stdout:
python -m smtpd -c DebuggingServer -n
#Parse and prettify a JSON string with: