Python parsing iTunes XML/COM

pyshib at googlemail.com pyshib at googlemail.com
Wed Jul 30 11:06:08 CEST 2008


If you want to convert the file names which use standard URL encoding
(with %20 for space, etc) use:

from urllib import unquote
new_filename = unquote(filename)

I have found this does not convert encoded characters of the form
'&#CC;' so you may have to do that manually. I think these are just
ascii encodings in hexadecimal.



More information about the Python-list mailing list