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

Program does not run on Python workspace

When I type "python functions.py" in the console, the program does not run but a new blank line with cursor comes on. How do I fix this problem?? Appreciate your help.

Could you paste the code from you functions.py file in here so we can test it out? Be sure to format it properly, use the Markdown Cheatsheet for examples on how!

1 Answer

Thanks, I figured it out. I wasn't saving the code. Now its running, after I saved it.