on-internet
← Community

Visual Studio Code Started Adding Extra "\" to File Paths; Can No Longer Run Files

Stack Overflow ·

I am a novice dabbler in Python. I use Visual Studio Code as my IDE; version 1.145.2. I just do some simple tasks, like renaming files and such. As of yesterday morning, I was able to execute Python scripts. As of yesterday evening, I could no longer run any scripts. I even created a new script with a single line that reads "print("x")", but it won't run. I am getting an error which says "[Errno 22] Invalid Argument", and it looks like it's adding an extra "\" at every level in the file directory for some reason (see snapshot below). It does seem to execute fine if I select "Python Debugger: D

Comments

Sign in or sign up to comment and upvote.

No comments yet.