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 (Retired) Things That Count Basic Numbers

Paul Feric
Paul Feric
Courses Plus Student 724 Points

workspace not working

so whenever i open a work space and i copy what the teacher types on the video and than i try to run it it never runs i dont get it plz help. i always create a workspace and set it to the subject im learning on and that doesnt make a difference either

1 Answer

Chris Freeman
Chris Freeman
Treehouse Moderator 68,423 Points

Try creating a workspace independently.

Go to Workspaces page.

select "New +"

  • Add workspace title, such as "Test print"
  • Pick environment from dropdown list: Python
  • Use default "Python Workspace" template

Select "Create Workspace"

A new window will open.

Click on File, then New File. Give the new file a name, such as, "test.py".

In the top window, select the test.py tab.

Enter the code:

print("Hello, World!")

Save the file (Control-s, or File-->Save)

In the lower window, at the prompt type:

python test.py

You should see: Hello, World!

This will tell you if workspaces are working for you.