Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAlex Diaz
4,930 PointsWorkspaces can't open my file
python: can't open file 'simple.py': [Errno 2] No such file or directory
Is the error i'm getting, the file is named simple.py for sure so I don't really know whats going on. I read on one guy's post saying that he resolved this using "cd rps/"? Any help is appreciated, thank you!
Alex Diaz
4,930 PointsChris, i am typing this into the console-
python simple.py
I'm just trying to run the file
1 Answer
Alex Diaz
4,930 PointsI solved this by just taking simple.py out of the folder it was in? Thank you anyways chris! :)
Chris Freeman
Treehouse Moderator 68,457 PointsChris Freeman
Treehouse Moderator 68,457 PointsWhat are you doing when you see this error? Running a script or at the command line? Can you post the command you used and the full output seen?