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) Putting the "Fun" Back in "Function" Shopping List Redux

workspace doesn't work for python, typing python xx.py doesn't excute the script

workspace doesn't work for python, typing python xx.py doesn't excute the script. on OSX safari 8.0

4 Answers

Thanks. Just tried that nothing is happening just goes back to this treehouse:~/workspace$

Gerard, I just launched a new work space and created a simple test called Name.py. I was able to run it by using- python Name.py. Please check your capitols as python is case sensitive.

Ah OK. I had some issues yesterday, after I logged off for a bit and came back the works spaces was working OK. I think the python use of work spaces is still getting worked out.

You have to save your file every time you make changes. If you don't it will run the version of when you first created the file.