From: <vze...@ve...> - 2002-11-21 02:18:07
|
Thanks for the python tips. I guess it shows that I am new to the language :-) Unfortunately, I still can't seem to get this right. I tried this: if retval: print "YES" else: print "NO" When executed, this prints out "YES" when the statement "print retval" prints either [<PgBoolean instance at 0x401c890c: Value: True>] - or - [<PgBoolean instance at 0x401c8900: Value: False>] What am I doing wrong? |