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 Meet Python Variables

walter fernandez
walter fernandez
4,992 Points

my code does not run

I trying to run my variables with python hello.py but it does not work

Fatemah Tavakoli
Fatemah Tavakoli
13,797 Points

Could you post your code? Also, make sure that you are saving before running your code.

Jacob Dodge
Jacob Dodge
15,469 Points

I ran into something similar. Without seeing any code I guessing you were probably still in the python shell. What worked for me was typing the quit() function into the shell and then trying again and it ran the print functions correctly.