Az tak prosté to nenÃ, predpokládá to mÃt osetrené vsechny paznaky, to uz
rovnou muzu definovat celé translate, ideálnà by byla volba
ignore-all-others a mÃt moznost definovat univerzálnà nahrazujÃcà znak - ne
vzdy se hodà otaznÃk.
----- Puvodnà zpráva -----
Od: Ondrej Beranek
prosté. dÃk.
2014-03-03 17:44 GMT+01:00 Hynek Fabian <hynek.fab...@firma.seznam.cz>:
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 ?
_______________________________________________
Python mailing list
python@py.cz
http://www.py.cz/mailman/listinfo/python
Visit: http://www.py.cz