mirror of
https://github.com/cheat/cheat.git
synced 2024-11-19 02:10:38 +01:00
10 lines
266 B
Text
10 lines
266 B
Text
# Desc: Python is a high-level programming language.
|
|
|
|
# Basic example of server with python
|
|
# Will start a Web Server in the current directory on port 8000
|
|
# go to http://127.0.0.1:8000
|
|
|
|
# Python v2.7
|
|
python -m SimpleHTTPServer
|
|
# Python 3
|
|
python -m http.server 8000
|