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 trialGodswill Utionkpan
985 PointsWhy does this happen?
After I do everything the instructor asks and I click enter in the console it comes back as "treehouse:~/workspace$"
6 Answers
Brett Burky
3,895 PointsGodswill: You need to create that file from the file menu it is used not in the console but in the working environment that is above that. You will see the file show up to the left in the grey area once you make a new file, rename it there.
Kenneth Love
Treehouse Guest TeacherCan you tell me what you're doing that's "everything the instructor asks"?
Godswill Utionkpan
985 PointsKenneth Love I entered the script, I went to the console and typed "python lumberjack.py" but it returns "treehouse:~/workspace$"
Kenneth Love
Treehouse Guest TeacherAs Brett Burky said, make sure you've created the script using the File menu and then saved it, either through the File menu or by pressing cmd or ctrl and s, just like you would in most text editors on your computer.
If it's still not working after that, show us your script so we can look for any problems in it.
Godswill Utionkpan
985 PointsBrett Burky Kenneth Love It still won't work.
Godswill Utionkpan
985 PointsBrett Burky Kenneth Love I was in the hello.py section and I typed in the script then after that, I pressed ctrl + S but when I went to the console and typed "python hello.py" it wouldn't work.
Kenneth Love
Treehouse Guest TeacherWhat if you go up to the File menu in workspaces and choose "save" from there?
Godswill Utionkpan
985 PointsKenneth Love Okay, I will try that later.