List the Package Paths

python -c "import sys; print '\n'.join(sys.path)"

Start Simple HTTP Web Server

This will start a HTTP server on port 8000 (if no port is specified) serving the files and directories which are in the current working dir. See link

Python 2.4 or later

python -m SimpleHTTPServer          # default, listen at: port 8000
python -m SimpleHTTPServer 8090 # listen at: port 8090

Python 3

python -m http.server [port]

Test Tkinter

python -c "import Tkinter; Tkinter._test()"

See also

Last modified 4 years ago Last modified on May 3, 2015, 1:58:01 AM