Jump to content

Big Picture Needed: Python, Django And Mysql


Recommended Posts

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)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...