[BioPython] calculate F-Statistics from SNP data

Peter biopython at maubp.freeserve.co.uk
Mon Oct 20 14:04:02 UTC 2008


On Mon, Oct 20, 2008 at 2:57 PM, Giovanni Marco Dall'Olio
<dalloliogm at gmail.com> wrote:
> Just a curiosity: why do you use the '<>' operator instead of '!='?
> Is it better supported in python 3.0?

Python 2.x supports both <> and != for not equal, and people use both
depending on their personal preference (or exposure to other
languages).  Most Biopython code used to use <> which I personally do
by habit.

Python 3.x supports only != so I have recently gone through Biopython
in CVS switching all the <> to != instead.

I would recommend you use != in all new python code.

Peter



More information about the Biopython mailing list