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

Workspace

Is there a way to try the code shown in the video while watching it ? I tried opening the workspaces but the console was inactive.

1 Answer

yes, after you launch the workspace, go to the "view" tab on the menu bar, you then select the "show console" option .

After the console appears you can type python and you are ready to write code in the shell, or you can create a new .py file by going to the "file" tab in the menu bar, then execute that file by pulling up the console and typing python filename.py

Thank you ! That works