From ef644d42eca6b725fb69cfe8bb40425e18303c53 Mon Sep 17 00:00:00 2001 From: ImmortalPC Date: Wed, 13 Nov 2013 22:48:32 +0100 Subject: [PATCH] Add python --- cheatsheets/python | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 cheatsheets/python diff --git a/cheatsheets/python b/cheatsheets/python new file mode 100644 index 0000000..0dee0ec --- /dev/null +++ b/cheatsheets/python @@ -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