[Tutor] Re: Help with AppendText Syntax
Lee Harr
missive at hotmail.com
Sun Dec 21 11:36:10 EST 2003
> for row in c.fetchall():
> field1 = row[0]
> field2 = row[1]
> mydb.close
> self.tester.AppendText("Code returned is:" self.field1)
You retrieve the value in to field1, but then try to use
self.field1 to put the text in to tester. Try:
self.tester.AppendText("Code returned is:" field1)
That is interesting that the two string values together with no
operator get concatenated ... I did not know that would work!
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
More information about the Tutor
mailing list