I need to rewrite some Perl code in python. So I'm looking for the closest modules to what I'm using now in Perl (i.e. with similar functionality and stability):
What are the Python equivalents to these?
Note: Items marked above as Python STL are included as part of the Python Standard Library as listed in the Python v2.6.4 documentation.
MySQLdb
or oursql
will work.urllib2
mechanize
etree
or lxml
BeautifulSoup
and lxml
can parse, and etree
and lxml
can generate.FormEncode
Genshi
, Jinja2
, mako
, cheetah
, and too many othersurllib2
and etree
are in the standard library; the rest are easy enough to get.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With