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 trialDonald Richmond
13,807 PointsGeneral
If you are in a Python program and are caught in an endless cycle of input requests, WHAT DO you enter to break you out of that program??? Please advise.
2 Answers
Matthew Carr
11,220 PointsIt depends on where you are stuck at. The first thing I would try is to hold down the Ctrl button and then hit C (Ctrl-C). If you are in a workspace, you could close the window the workspace is in, though you might lose any unsaved changes. If you have IDLE open, you can simply close the window.
After getting it closed, find out what was going on to make it happen. Maybe a while True: loop without a path to a break statement?
Donald Richmond
13,807 PointsI tried Control-C. That did not work.
It was on a test program so that the problem was just a minor one.
Thanks for the reply!