if Request("something") == None: doesn't work

Ivan Voras iv at an.voras.fer.hr
Wed May 12 14:11:15 EDT 2004


Sam Sungshik Kong wrote:

> if str(Request("something")) == "None":
> works!
> 
> Also,
> if len(Request("something")) == 0:
> works!
> 

Try  Response.Write(repr(Request("something"))) to see if you are really 
getting a None.



More information about the Python-list mailing list