MySQLdb - possible without install?

Alex Martelli aleaxit at yahoo.com
Fri Jul 13 07:25:38 EDT 2001


"Gerhard Häring" <gerhard.nospam at bigfoot.de> wrote in message
news:slrn9ksrdc.sa.gerhard.nospam at lilith.hqd-internal...
    ...
> >#!/usr/contrib/bin/python  (the python path)
> >import MySQLdb
> >print "Content-Type: text/html\n\n" (so the browser doesn't choke).
>
> Should be ok so far.

Except there's a newline too many, because you have two explicitly
specified and an extra one is implicitly added by the print statement.
This can't be the cause of your problem here (I think), I'm just
pointing it out in case it DOES turn out to be a problem for someone.


Alex






More information about the Python-list mailing list