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 trialCameron Ganley
4,049 PointsConsole is not recognizing the play.py file.
I have all the same tabs as Kenneth (characters.py
, attributes.py
, etc.), and every time I try to run python play.py
, the console tells me this:
python: can't open file '/home/treehouse/workspace/play.py': [Errno 2] No such file or directory
1 Answer
Travis Alstrand
Treehouse Project ReviewerHey Cameron Ganley !
Be sure you're in the right directory before running the command. I would try
cd rpg
python play.py
Cameron Ganley
4,049 PointsThanks Travis!
Do you know if this was covered in a previous lesson? I'm wondering if there is a certain module that would teach us those basic skills.
Rich Donnellan
Treehouse Moderator 27,696 PointsRich Donnellan
Treehouse Moderator 27,696 PointsQuestion updated with code formatting. Check out the Markdown Cheatsheet below the Add an Answer submission for syntax examples, or choose Edit Question from the three dots next to Add Comment to see how I improved the readability.