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 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
229,788 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,851 Points

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

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

1 Answer

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