Python Web Server in One Line June 23, 2014 by Mike 1 Comment Quick and dirty web server in Python that serves files out of the current directory. For Python 3.X: python -m http.server 8080 For Python 2.X: python -m SimpleHTTPServer
Invoke the Python Debugger in One Line June 23, 2014 by Mike Leave a Comment Add the following snippet where you want to invoke the Python debugger: import pdb;pdb.set_trace()