close
The Wayback Machine - https://web.archive.org/web/20090202052536/http://python.about.com:80/od/pythonanddatabases/ss/

Python

  1. Home
  2. Computing & Technology
  3. Python

StepByStep Index

Reading from a MySQL Database With Python
Python comes with "batteries included", as the saying goes. This reference to the Python library also suggests the secret to Python programming in general. It is also the basis for any database management you want to do. Python modules exist for every major database format. Here we look at the more common ones.

Reading from a PostgreSQL Database With Python
This tutorial teaches how to read data from a PostgreSQL database using psycopg.

Inserting Data Into a PostgreSQL Database
In this tutorial, we will program Python to insert data into a PostgreSQL database. Here we see how to open the database using Python's psycopg module.

Inserting Data Into a MySQL Database
If you want to insert data into a MySQL database repeatedly and without worrying about SQL syntax, this tutorial is for you.

Discuss

Community Forum

Explore Python

More from About.com

New Year, New You

Take action today to accomplish your biggest goals with these motivating ideas.

Best Moves in a Bad Economy

Stay on top in this tough economy with our smart, easy-to-follow financial tips.

Python

  1. Home
  2. Computing & Technology
  3. Python

©2009 About.com, a part of The New York Times Company.

All rights reserved.