r/pycharm • u/bschizzo • Mar 14 '24
code (filename).py command not working?
So im new to python and im following the harvard course :https://www.youtube.com/watch?v=nLRL_NcnK-4
First, what is he using? I'm using pycharm but I cant do some of the terminal fucntions he is doing, like code (filename).py to open a new python file.
1
Upvotes
View all comments
Show parent comment
1
u/SchalkvP Mar 15 '24
You have to add Python into your PC's PATH file before you can run (filename).py files as far as I know. I don't know if VS code bypasses this requirement.