uniform interface for MySQL & MSSQL

Gerhard Häring gerhard.haering at gmx.de
Tue Jul 16 07:14:54 EDT 2002


Dave Cole wrote in comp.lang.python:
[cursor.seek()]
> What does the method do?

See PEP 0249. It changes the cursor position. Usage is
cursor.scroll(value, mode='relative'), where mode can be 'absolute' or
'relative'. And the method is actually called scroll rather than seek.

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    OpenPGP public key id AD24C930
public key fingerprint: 3FCC 8700 3012 0A9E B0C9  3667 814B 9CAA AD24 C930
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))



More information about the Python-list mailing list