[Biopython-dev] unicode and sequences

Andrew Dalke dalke at acm.org
Thu Nov 2 23:36:52 EST 2000

I was browsing through how Unicode works in Python 2.0.  I found
it interesting that it's similar to how the biopython sequence class
works, in that unicode strings take a sequence of bytes and an optional
encoding, just like the sequence takes a string of bytes and and an

There is a difference - I think the unicode code converts everything
into UTF-8 encoded Unicode.  Still, I liked the similarity so wanted
to point it out :)


More information about the Biopython-dev mailing list