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!
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
I don't understand the question "how would you run hello_world.py"
What is the answer to "how would you run hello_world.py"
Hey Shavonne! The question is asking how, if you had a file named "hello_world.py", you would run that file in the console. Is that clear enough? Let me know if you need more help. :)
Not really I could not figure out the answer to this question: have a script named hello_treehouse.py. How would I run that?
There is a blank space to answer this question but everything I've tried typing in is incorrect.
Louis Magdaleno4,736 Points
Hi Shavonne, to run a Python file you need to type in a special command into the terminal. To run the file hello_world.py, we would type in "python hello_world.py" into the terminal. By doing this, we are essentially telling the computer to use PYTHON to run HELLO_WORLD.PY. Hope this helps.