I have a unicode filename that I would like to open. The following code:
cmd = u'cmd /c "C:\\Pok\xe9mon.mp3"'
cmd = cmd.encode('utf-8')
subprocess.Popen(cmd)
returns
>>> 'C:\Pokיmon.mp3' is not recognized as an internal or external command, operable program or batch file.
even though the file do exist. Why is this happening?
PATH
has to do with anything? – Yvette