Jump to content

theepdinker

Members
  • Posts

    1
  • Joined

  • Last visited

theepdinker's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Importing MySQLdb into Python appears to cause an error. The file below, when run, does not appear to get past the import MySQLdb statement. This is edited down from the Python example at Any ideas what I am doing wrong?(I am running on Stevie)output:here we go Code:#!/usr/bin/pythonprint "Content-type: text/html\r\n\r\n"print "here we go "try: import MySQLdb tx = 'successfully imported MySQLdb' print "out of try "except: tx = str(sys.exc_info()) print "except "print tx
×
×
  • Create New...