Regular expression issue

Tim Chase python.list at
Mon Aug 9 01:34:46 CEST 2010

On 08/08/10 17:20, genxtech wrote:
> if, in_string) != None:

While the other responses have addressed some of the big issues, 
it's also good to use

   if thing_to_test is None:


   if thing_to_test is not None:

instead of "== None" or "!= None".


More information about the Python-list mailing list