What is the best practice way to open files in Python 2.6+

It looks like there are at least 3 different ways to open files:
- built-in open()
- io.open()
- codecs.open()
It seems like io.open() combines the best of the built-in open()
and the codecs open(). Am I missing any obvious drawbacks to
using io.open() except for backwards compatibility?

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

Reply via email to