Jump to content

Recommended Posts

Posted

Hi everyone

Noob here. Sorry.

First of all, I am looking forward to getting my teeth into scripting with Python and MySQL. I have my first simple script running, so all good there.

 

However...

I have looked at a lot of forum posts. Many seem to ask the same question, but none seem to provide any firm advice.

 

Before anyone points me towards: http://www.heliohost.org/home/features/languages/python, can someone give me a Big Picture overview of Python, Django and why I can't import mySQLdb into my scripts?

 

First of all, I thought my script was buggy, but even this doesn't work:

#!/usr/bin/python

import MySQLdb

 

...and I get a 500 error.

 

The link above seems to give a series of instructions (for which I am very grateful), but these are very bottom-up. I am looking to make connections to make sense.

 

 

Once I get my first mySQLdb script running, I'll be flying (I hope).

 

Fingers crossed

spangle

 

(Darren)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...