Oops! Didn't mean to reply off-list.
On Sat, 11 Jun 2005 23:16:47 +0100
"Alan G" <[EMAIL PROTECTED]> wrote:
> HI Don,
>
> > > > result = Cursor.fetchone()
> > > > Con.close()
> > > >
> > > > # Count the fields
> > > > result.num_fields()
>
> > Should I have done something more like this?
> >
Don Parris wrote:
> I'd like to use the result.numfields() function to count the fields on a
> given table, but apparently don't quite grasp how to implement it. Below is
> my lame attempt. I searched the comp.lang.python group via Google, but
> didn't find any relevant info. The MySQLdb User Gu
> I'd like to use the result.numfields() function to count the fields
on a
> given table, but apparently don't quite grasp how to implement it.
Below is
> my lame attempt.
OK, I've never use the numfields function so have no idea how it works
nor why I'd want to use it but...
> sql = "SELECT * FR
Greetings,
I've dabbled in programming/scripting a little, but never really seem to get
the hang of it. I thought I'd try out Python for a front-end to my
SQL database project. I've worked through the tutorial, and a few others to
some extent. At the moment, I'm really just tinkering, but have