cheat/cheatsheets/python

11 lines
266 B
Text
Raw Normal View History

2013-11-13 22:52:06 +01:00
# Desc: Python is a high-level programming language.
2013-11-13 22:48:32 +01:00
# Basic example of server with python
2013-11-13 22:55:19 +01:00
# Will start a Web Server in the current directory on port 8000
2013-11-13 22:48:32 +01:00
# go to http://127.0.0.1:8000
# Python v2.7
python -m SimpleHTTPServer
# Python 3
python -m http.server 8000