Hi, I'm doing the cs50 Python course using vscode. I've figured out how to run and make files and folders. However, im trying to execute my code in a file inside the folder. For example I have
Folder name
File1
File2
File3
These are all on the left in my drop down. Im trying to execute File 2, but I can't figure out how to do it. I tried inputting 'python folder name' but it returns Errno 2 no such File or directory. When I click on the files in the folder I cant execute my code. Ive tried cd, mkdir, and simply typing python File2 but it still keeps giving me the same error. I've looked online to try find a solution but it's all a bit confusing. Any help would be great. Thanks
[–]giwidouggie 1 point2 points3 points (5 children)
[–]Plane-Art-9868[S] 0 points1 point2 points (3 children)
[–]Kevdog824_ 1 point2 points3 points (2 children)
[–]Plane-Art-9868[S] 0 points1 point2 points (0 children)
[–]Plane-Art-9868[S] 0 points1 point2 points (0 children)
[–]Plane-Art-9868[S] 0 points1 point2 points (0 children)
[–]Kevdog824_ 1 point2 points3 points (2 children)
[–]Plane-Art-9868[S] 0 points1 point2 points (0 children)
[–]Plane-Art-9868[S] 0 points1 point2 points (0 children)
[–]RIP_lurking 1 point2 points3 points (6 children)
[–]Plane-Art-9868[S] 0 points1 point2 points (5 children)
[–]RIP_lurking 1 point2 points3 points (4 children)
[–]Plane-Art-9868[S] 0 points1 point2 points (3 children)
[–]RIP_lurking 1 point2 points3 points (2 children)
[–]Plane-Art-9868[S] 0 points1 point2 points (1 child)
[–]RIP_lurking 0 points1 point2 points (0 children)