python not returning true

Steven D'Aprano steve at REMOVEME.cybersource.com.au
Wed Feb 14 00:37:44 EST 2007


On Tue, 13 Feb 2007 21:15:19 -0800, agent-s wrote:

> I have a function, generally described as so:
[snip function]
> which is used in:
> 
> if function(args):
>                                 print "ok"
> 
> so here basically "text" will print out when condition3 is true but it
> will not print out "ok" when condition3 is true. When it's true it
> should print out borth "text" and "ok"

Thank you for sharing. Do you have an actual question?




-- 
Steven D'Aprano 




More information about the Python-list mailing list