[Biopython-dev] 2to3 and doctests

Tiago Antão tiagoantao at gmail.com
Fri Jul 16 16:06:50 UTC 2010


2010/7/16 Peter <biopython at maubp.freeserve.co.uk>:
> We'll need to tweak input vs raw_input (Python 3 vs Python 2).

Me thinks this is probably enough?
if sys.version_info[0] == 3:
    def raw_input():
        return input()



More information about the Biopython-dev mailing list