<> and !=

hokiegal99 hokiegal99 at hotmail.com
Wed Jul 16 10:04:29 EDT 2003


Gonçalo Rodrigues wrote:
> On Wed, 16 Jul 2003 08:57:33 -0400, hokiegal99
> <hokiegal99 at hotmail.com> wrote:
> 
> 
>>that sould be:
>>
>>if newfile <> oldfile
>>if newfile != oldfile
> 
> 
> No difference whatsoever. I believe != is prefered (style guide?)
> though -- and that's the one I always use.
> 
> With my best regards,
> G. Rodrigues

Thank you, that is what I thought. What's the reason for having two 
symbols mean the same thing?





More information about the Python-list mailing list