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).
Big Picture Needed: Python, Django And Mysql
in Website Management and Coding
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)