Hello,
I'm trying to start windows media player using Qprocess (for a windows xp operating system). However, when I run my code, it won't start. I am assuming it is because of the spaces in the path name. How do I fix my code so that it will work with paths that have spaces in it? I am using pyqt4. Thank you in advance.
Qt Code:
if sys.platform == 'win32': p.setWorkingDirectory("C:\Program Files\Windows Media Player") p.start('wmplayer')To copy to clipboard, switch view to plain text mode
Bookmarks