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

Linda Larson-Prior
Linda Larson-Prior
277 Points

won't run at all

When I am in the console and print the run command (python masterticket.py) it just returns the prompt and never tries to run the code! I did exactly what the instructor did, and ran from the console using the same command, but fundamentally, nothing happened!

1 Answer

Mark Sebeck
Mark Sebeck
Treehouse Moderator 31,324 Points

Hi Linda. A common mistake is forgetting to save your code before running. Make sure you hit ctrl + s or select Save from then menu before running. Craig used ctrl + s to save but didn't mention that he did. You can see a little red circle next to the file name. Right before he runs it the red dot disappears meaning he saved it.