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 Python Basics Meet Python Running Scripts

Workspace does not open with the line print ("Hello,World") and when I type python hello.py in console nothing comes up

When I open the workspace the script is blank and If I type in the line when I go into console and type in "python hello.py" it responds with blank space instead of Hello World

Pratham Mishra
Pratham Mishra
14,191 Points

I'll be great if you tag your code, it'll be easy to identify the problem

you can go ahead and type the script in yourself, it's: print("Hello, World!")

the print command is case sensitive so keep the word print lower case, save the file before you try running it again.

1 Answer

Pratham Mishra
Pratham Mishra
14,191 Points

The code: print("Hello, World")

Save this file with the extension .py. It should look something like this: hello.py Then, in the console type: python hello.py

I think this should do the job for you.