Python 2.7 or higher: Looking for reasons/scenarios where one
should use the codecs vs. io module.

Are there use cases that favor one specific module over the other
module?

My understanding is that the io module is much faster than the
codecs module (and can be used interchangably), but the codecs
module provides backward compatibility if you need to target
versions of Python less than 2.6.

Thank you,
Malcolm
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to