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 trialVincent Dubay
6,220 Pointshello.py is not saving correctly. I've tried using ctrl+s and manually saving through the file tab.
For some reason, my Workstation is not saving any of my .py files. For example, after I save my file, I go to run it as you normally would. My output says "Hello, World", as if I had never saved it.
1 Answer
Stephen Mangai
3,924 PointsI don't know if you are using the treehouse IDE or you are using an IDE installed on your local machine. For treehouse IDE, you don't need to save any file, just write your code and run directly on the web IDE. But if you have installed an IDE like sublimetext3, or atom or vscode on your computer, then open your IDE -> create a new file, -> ctr + s -> (your file name).py and save to your choosing file location. Either on the desktop or any location that you choose.
Next, if you use Linux OS or MAC OS like me, open your Terminal and change directory to the location where you saved your python file, e.g desktop, then type python3 filename.py and hit enter or return key. Your program should run fine