Results 1 to 3 of 3
Thread: Python encoding
Hybrid View
-
22nd December 2010 03:01 #1
Python encoding
Python : ,
root folder .
python-2.7.1-x64 ( Python 2.x) , ,
( å, á, ü - ISO-8859 ).
, python
(os.path.isfile(x) - False, os.path.isdir(x) - False; os.walk(x) , os.listdir(), ).
python-3.1.3-x64, Unicode out of the box.
, , . Locale- OS- , python-3.1.3
${python}/Lib/encodings/cp1251.py,
. :
, ?Code:UnicodeEncodeError: 'charmap' codec can't encode character '\xe5' in position 60: character maps to <undefined>

P.S. - 32bit python-3.1.3 .
Java , -
UD3R|Q9550+1283|4x2 G.Skill@1066|MX500+1002FAEX+640AAKS+ST31 60|RX580-8GB|1841BLT|SS-760XP|Define7|z24i|Edifier S350DB
geniusloci: ) ; ) ; ) ?
nope|r.i.p.
-
22nd December 2010 04:00 #2
-
22nd December 2010 04:12 #3




Reply With Quote

Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in