Saturday, March 27, 2010

Python: MySQL & SSH

I needed to write some Python this Saturday and hack time is over for now so I'm documenting what I picked up. On vanilla Fedora 12 you can install the necessary packages with:
yum install MySQL-python 
yum install python-twisted python-twisted-conch
I then had what I needed to get Python SSH'ing into a server and talking to MySQL. Some examples:

No comments: