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 trialManal El
3,563 PointsCan't open the python files in the rgp folder
Hi, while trying to run the python files I encountered the following error although the files do exist in the folder, any help would be greatly appreciated :)
python: can't open file 'play.py': [Errno 2] No such file or directory
python: can't open file 'thieves.py': [Errno 2] No such file or directory
2 Answers
Harris Handoko
3,932 PointsYou are in the wrong folder. In your case, your console probably looks like this:
treehouse:~/workspace$
type in "cd rpg" without the quotes. That should change the directory to rpg.
treehouse:~/workspace/rpg$
Yoon Choi
1,649 PointsTHIS DOES NOT WORK EITHER
James Stirrat
3,725 Pointscd workspace/rpg worked.
James Stirrat
3,725 PointsJames Stirrat
3,725 PointsNot Working.