Python Object-Oriented Python Inheritance Multiple Superclasses

Manal El
Manal El
3,562 Points

Can'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
Harris Handoko
3,394 Points

You 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
Yoon Choi
1,521 Points

THIS DOES NOT WORK EITHER

James Stirrat
James Stirrat
3,725 Points

cd workspace/rpg worked.