a little parsing challenge ☺

Thomas 'PointedEars' Lahn PointedEars at web.de
Tue Jul 19 02:09:09 EDT 2011


Thomas 'PointedEars' Lahn wrote:

>             with open(os.path.join(dirpath, name), 'r') as f:

SHOULD be

            with open(os.path.join(dirpath, name), 'rb') as f:

(as in the original), else the some code units might not be read properly.

-- 
PointedEars

Bitte keine Kopien per E-Mail. / Please do not Cc: me.



More information about the Python-list mailing list