vittorio
08-24-2010, 03:11 PM
Hi all
The script below:
#-*- encoding: utf-8 -*-
listV=[10,12,15,17]
listM=[]
for i in (listV):
sn='Ø'+str(i)
print sn
listM.append (sn)
print listM
get the result:
Ø10
Ø12
Ø15
Ø17
[u'\xd810', u'\xd812', u'\xd815', u'\xd817']
Why i get u'\xd812' to Ø12?
Ciao Vittorio
The script below:
#-*- encoding: utf-8 -*-
listV=[10,12,15,17]
listM=[]
for i in (listV):
sn='Ø'+str(i)
print sn
listM.append (sn)
print listM
get the result:
Ø10
Ø12
Ø15
Ø17
[u'\xd810', u'\xd812', u'\xd815', u'\xd817']
Why i get u'\xd812' to Ø12?
Ciao Vittorio