Python

From miki
Revision as of 10:31, 13 January 2014 by Mip (talk | contribs) (→‎References)
Jump to navigation Jump to search

References

  • Nice example of generating / testing regex in Python (with nice / small test framework) [1]

Tips

Simple HTTP Server

It's very easy to setup an ad-hoc HTTP server with Python. Just open a shell in a folder with some contents to share, and type:

python -m SimpleHTTPServer

More available at http://docs.python.org/2/library/internet.html (see BaseHTTPServer and CGIHTTPServer).