Thread: Some useful Python libraries arms
pythonhas basically become my weapon of choice lately. here are a fewpythonlibraries that i've found useful and a few i haven't used but look useful.urllib2 urlib2 is a pythonmodule for fetching urls. supports simple GETs and POSTing to forms. a nice howto: http://www.voidspace.org.uk/python/articles/urllib2.shtmlmechanize easy to fill and submit forms without using regex. maintains client state with cookies automatically. kinda like using a browser. based on theperlmodule of the same name.http://wwwsearch.sourceforge .net/mechanize/Universal Feed Parser haven't used this one yet but probably will soon. parses feed like the name says. i like that it doesn't involve DOM traversal. http://feedparser.org/ PyRSS2Gen for creating rss programatically. again, no DOMs. haven't tried it yet either. http://www.dalkescientific.com/ Python/PyRSS2Gen.htmlBeautiful Soup parses html/xml. useful for scraping because it handles broken html. http://www.crummy.com/software/BeautifulSoup/ pycurl for the curl people http://pycurl.sourceforge .net/nop_90
thanx for adding those
Dbyt3r
Don't forget PIL (
pythonimaging library) , MysqlDb, and the threading module (i know its default but you mentioned urllib2 ) |
Thread Categories
Best of The Cache Home | ||
Search The Cache |
- Ajax
- Apache & mod_rewrite
- BlackHat SEO & Web Stuff
- C/++/#, Pascal etc.
- Database Stuff
- General & Non-Technical Discussion
- General programming, learning to code
- Javascript Discussions & Code
- Linux Related
- Mac, iPhone & OS-X Stuff
- Miscellaneous
- MS Windows Related
- PERL & Python Related
- PHP: Questions & Discussion
- PHP: Techniques, Classes & Examples
- Regular Expressions
- Uncategorized Threads