Python Popen Cannot Find the File Specified
Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Luau
--
Chapters
00:00 Question
01:28 Accepted answer (Score 4)
01:44 Thank you
--
Full question
https://stackoverflow.com/questions/1931...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #subprocess #popen
#avk47
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Luau
--
Chapters
00:00 Question
01:28 Accepted answer (Score 4)
01:44 Thank you
--
Full question
https://stackoverflow.com/questions/1931...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #subprocess #popen
#avk47
ACCEPTED ANSWER
Score 4
The \ symbol counts as an escape character in python, use r to turn that off:
pathToFile = r"R:\T2 Output\12345--01--Some File 1--ABCD.mp4"