MySQLdbd error. Perhpas it isn't installed?
nikos.gr33k at gmail.com
Thu Mar 28 03:19:27 CET 2013
The following works in python 3.2
cur.execute( '''SELECT hits FROM counters WHERE url = ?''') , (page,)
is there a difefrence between the above and the follwong which works in python 2.6
cur.execute( '''SELECT hits FROM counters WHERE url = ?''' , (page,) )
Also whats better? use '%s' or '?' and why?
I'am confused. Which one is the correct?
Also now http://superhost.gr seems to stuck in the following line which i try to open an acii file to slect a random line, please take a look.
More information about the Python-list