Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Python Python Basics All Together Now Gather Information

Why wont this work?

it says python: can't open file 'master_ticket.py': [Errno 2] No such file or directory. I erased my entire code, and tried again. I got this error again. Why is this happening?

Steven Parker
Steven Parker
210,425 Points

To allow us to replicate your issue, make a snapshot of your workspace and post the link to it here.

Itsa Snake
Itsa Snake
3,849 Points

Make sure you have saved it. Refresh the workspace page tab and then type: python3 master_ticket.py

Derek McLane
Derek McLane
11,185 Points

Are you writing just "master_ticket.py" or are you writing "python master_ticket.py" because without writing python, it won't open

you might have named the file name wrong . Try it again