Wednesday, February 25, 2009

State Of The Code:

Started using google-docs to store and edit the python scripts. This allows me to look at them during lunch. Still pondering how to get data out of MySQL and into python. I think it will require me to use the python library mysqldb and create a new class of objects to represent tables. Just more things to cram into the brain. I was really hoping it would've been possible using what I've already learned.

Additionally the script will need sys.argv to import user preferences (maybe even store them in a profile?) and priority dictionaries to easily sort results. The list keeps growing.

Things to Learn
  • mysqldb
  • creating a new class (table)
  • priority dictionaries
  • importing user arguments (sys.argv)
Resources: http://www.palewire.com/2008/04/26/python-recipe-connect-to-mysql-database-execute-a-query-print-the-results/

No comments:

Post a Comment