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

Workspaces is not working!!

I am currently doing a course in python, and workspaces is not letting me run a code that I typed out. I type 'python Shopping_list.py' to run it but wont let me. Can someone please help me.

Chris Freeman
Chris Freeman
Treehouse Moderator 68,468 Points

Did you save your file first? Can you post the contents of the console window? Did you get an error message?

I didn't get an error message or anything. I basically did the same thing the teacher did in the video but wont work for me.

Chris Freeman
Chris Freeman
Treehouse Moderator 68,468 Points

In the upper right of your workspaces window is an icon to snapshot your workspace. Please make a snapshot then post the link to help us debug the issue.

1 Answer

Actually I figured out what was wrong. It turns out it wasn't saving the file. So I have to save it before running the script. But thank you for trying to help.