The following works in python 3.2
[code]
cur.execute( '''SELECT hits FROM counters WHERE url = ?''') , (page,)
[/code]
is there a difefrence between the above and the follwong which works in python
2.6
[code]
cur.execute( '''SELECT hits FROM counters WHERE url = ?''' , (page,) )
[/code]
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.
--
http://mail.python.org/mailman/listinfo/python-list