I tried translating the odd chars I found in my dos tree /f listing to
symbols, but I'm getting this error. The chars certainly aren't over
10000,  The ord is only 13 - so what's wrong here?

def main():
    zark = ''
    for x in "ÀÄÄÄ":
        zark += unichr(ord(x)-45)

    print(zark)

unichr() arg not in range(0x10000) (narrow Python build)


-- 
Jim
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to