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.
Constantly getting EOF error even though parenthesis are both closed
Opening the workspace gives me print("Hello, World" without the closing parenthesis. This seems to cause an ongoing EOF error even when I attempt to fix it, and I'm unable to do any other steps.
I am able to start with your snapshot, edit it to add the closing parenthesis, save the file, and run it.
Is it possible you are forgetting to save the file after you edit it? You can hit Control-S, or use the menu at the top to save it.
Steven Parker216,878 Points
I think Adrian's right. Python can't see what you've done in the editor, you have to save your changes and then re-run Python.
If you had saved the update with the balanced parentheses, the one-sided code wouldn't still show in the snapshot.