You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Run Python File fails for scripts inside directories beginning with [WIP] in Codespaces #26331
python: can't open file '/workspaces/ProjectsIWouldLikeToShare/[WIP] GCSE_StuffWhichIMayOrMayNotUse/Present_Tense_Testing.py': [Errno 2] No such file or directory
Steps to Reproduce
Open BulseyeTorch-jpg/ProjectsIWouldLikeToShare in GitHub Codespaces at commit bf2fba5dcb4277367dd753fd90346c0784d477be.
Open [WIP] GCSE_StuffWhichIMayOrMayNotUse/Present_Tense_Testing.py.
Click Run Python File in the upper-right corner.
Expected Behavior
The selected Python interpreter should receive the literal script path:
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/158.0.0.0 Safari/537.36 Edg/158.0.0.0
Additional Information
The screenshot shows the terminal invocation and file-not-found error. The path includes both brackets and a space, but the brackets should be treated literally. Renaming only the directory to remove [WIP] resolved the issue.
Activity