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!
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
Sohail MirzaPython Web Development Techdegree Student 5,158 Points
workspace is not working
Sorry i just started the course. From day one my workspace is not working. It opens up find. when i run something it doesn't work. for example in the console i run hello.py i get the following message - bash: hello.py: command not found Any assistance will be helpful
Jason AndersTreehouse Moderator 145,855 Points
Welcome to Treehouse.
I believe your Workspace is running fine, you're just missing one thing from the command to run the program. You're getting the error, because the console itself does not know what you mean by just the file name... the console is expecting a command. Here it would simply be
python. This keyword tell the console to run python and then open the stated file.
So the complete line in the console needed would be:
Keep Coding! :)