I would expect you to know, of course, that the program requires this minimal setup.#!/usr/bin/python import MySQLdb # Create a connection object and create a cursor Con = MySQLdb.Connect(host="silo.cs.indiana.edu", port=14298, user="dgerman", passwd="sp00n", db="demoOne") Cursor = Con.cursor() # Make SQL string and execute it sql = "SELECT * FROM students" Cursor.execute(sql) # Fetch all results from the cursor into a sequence and close the connection Results = Cursor.fetchall() print Results Con.close()