mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 18:55:06 +01:00
Add python
This commit is contained in:
parent
d8c723681a
commit
ef644d42ec
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 New Issue
Block a user