• # A verifier ?

    Posté par . En réponse au journal Pourquoi je hais les locales. Évalué à -4.

    open( filename[, mode[, bufsize]])
    Open a file, returning an object of the file type described in section 3.9, ``File Objects''. [...]

    If mode is omitted, it defaults to 'r'. When opening a binary file, you should append 'b' to the mode value to open the file in binary mode, which will improve portability.(Appending 'b' is useful even on systems that don't treat binary and text files differently, where it serves as documentation.)
    ...
    Source : http://docs.python.org/lib/built-in-funcs.html