mirror of
https://github.com/cheat/cheat.git
synced 2024-11-16 17:08:29 +01:00
Add python
This commit is contained in:
parent
d8c723681a
commit
ef644d42ec
1 changed files with 8 additions and 0 deletions
8
cheatsheets/python
Normal file
8
cheatsheets/python
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# Basic example of server with python
|
||||||
|
# Will start a web server 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
|
Loading…
Reference in a new issue