Python/MySQL Where do "SELECT ..." results go?
milesthompson at sprint.ca
Tue Mar 7 17:41:47 CET 2000
Hmmm ... something's wrong. dir(curs) returns
['_Cursor__conn', '_Cursor__open', '_Cursor__res', 'arraysize',
and there's nothing like next, prev, etc.
Do I have the correct module?
Warren Postma wrote:
> > >>>curs.execute("Select * from test;")
> Try dir(curs) and see if there are next, prev, first, last, etc methods.
> Always a good idea with an object to ask it "what can you do for me"...
> dir(obj) is how you ask.
More information about the Python-list