[python] XML

Luc@sh lukas na pleva.cz
Pátek Březen 31 13:26:22 CEST 2017


diky, to pomohlo i mne, zjednodusit jeden programek :)

a funguje vam?
mne hodi chybu:(

Traceback (most recent call last):
   File "dombook5.py", line 50, in ?
     print "%s:  %s\n(ISBN %s)\n"\
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in  
position 44: ordinal not in range(128)



On Thu, 14 Jun 2007 12:52:18 +0200, <RMiklos na pss.sk> wrote:

> for key in keys:
>   print "%s:  %s\n(ISBN %s)\n"\
>   % (mapping[key][1].ljust(25), mapping[key][0].ljust(30), key)



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/


Další informace o konferenci Python