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 trial

Python Object-Oriented Python Advanced Objects Controlling Conversion

Cameron Ganley
Cameron Ganley
3,507 Points

Console 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
Rich Donnellan
Rich Donnellan
Treehouse Moderator 27,671 Points

Question 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.

1 Answer

Cameron Ganley
Cameron Ganley
3,507 Points

Thanks 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.