Python parsing iTunes XML/COM

pyshib at googlemail.com pyshib at googlemail.com
Wed Jul 30 05:06:08 EDT 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