[python] Překódování textových souborů z DOSu.

Hynek Fabian hynek.fabian na firma.seznam.cz
Pondělí Březen 3 17:44:40 CET 2014


S.translate(table [,deletechars]) -> string

Return a copy of the string S, where all characters occurring
in the optional argument deletechars are removed, and the
remaining characters have been mapped through the given
translation table, which must be a string of length 256 or None.
If the table argument is None, no translation is applied and
the operation simply removes the characters in deletechars.

On 03/03/14 17:45, Ondrej Beranek wrote:
> dovolim si do toho vstoupit,
> kdybych takovou konverzi stejne chtel provest, s tim ze si sam reknu na co
> to prevest je mozne nejak konverzni tabulku dodefinovat ?



Další informace o konferenci Python