Some useful modules/frameworks:
Generally useful:
-
sys,
os: Can't live without 'em. Usually.
-
re: regex handling. Open this can of worms with caution if you are a newbie to regexes
![](https://groups.google.com/group/wncc_iitb/attach/f858e5acbe123b51/329.gif?part=0.1)
-
argparse: Beautiful library for handling command line arguments.
-
virtualenv: Lets you create a mini-environment where you can reconfigure python without affecting the base python install and not requiring sudo. Usually not preinstalled.
-
threading: Concurrency and other voodoo. Use with extreme caution.
Web utilities:
-
Flask: Easy-to-use framework to serve dynamic content. Very good for APIs. Usually not preinstalled.
-
Django: More complicated web framework, but is good for creating a more robust website (with an in built admin panel, etc). Usually not preinstalled.
Scraping/web communication:
-
urllib2: Fetching stuff from the web
-
Mechanize: Python lightweight browser-like object. Usually not preinstalled
-
Scrapy: Scraping framework. Usually not preinstalled
Graphics:
-
PyQT4/5: Robust windowing library. Usually not preinstalled.
-
Tkinter: Simple canvas-like library. Usually not preinstalled
-
PIL: All sorts of image manipulation. Usually not preinstalled