cheat/cheatsheets/python
2013-11-13 22:52:06 +01:00

11 lines
266 B
Plaintext

# Desc: Python is a high-level programming language.
# Basic example of server with python
# Will start a WebServer in the current dirrectory on port 8000
# go to http://127.0.0.1:8000
# Python v2.7
python -m SimpleHTTPServer
# Python 3
python -m http.server 8000