[Tutor] Is there a better way ?

Dave S pythontut at pusspaws.net
Thu May 20 16:03:29 EDT 2004


Kalle Svensson wrote:

>[Dave S]
>  
>
>>Is there a neater way of saying ...
>>
>>syncerr=False
>>if 'SyncErr' in file:
>>   syncerr=True
>>    
>>
>
>  syncerr = 'SyncErr' in file
>
>Peace,
>  Kalle
>  
>
Sometimes my own stupidity amazes even me ! :-)

Many Thanks
Dave



More information about the Tutor mailing list