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

Diego Garcia
Diego Garcia
219 Points

Accessing Workspaces

I am obviously missing something here. I have already downloaded the latest version of Python to my MaBook and have even opened the python shell and doodled a bit in there. It seems quite unforgiving (or else I am ignorant of commands that may allow me to go back on the code I typed and correct it, for example). Anyway, there seems to be no way to get to something like treehouse's Workspaces, of which I was growing very fond of. My questions then are: 1) are Workspaces a unique offer from Treehouse? 2) Is there a way to create a similar working environment in my "in-house" Python folder (wherever that may be within my system)? 3) Once I have finished the day and shut down my Mac, what is the most direct way to come back to my Workspace when I begin the new day? Do I have to be online to open it?

3 Answers

Asher Orr
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Asher Orr
Python Development Techdegree Graduate 9,409 Points

Hi Diego!

Q1: Are Workspaces a unique offer from Treehouse?

A: Treehouse's Workspace is a tool for writing, saving, and running programming scripts. The Workspace is unique to Treehouse. You need to be online to access it, too.

Q2: Is there a way to create a similar working environment in my "in-house" Python folder (wherever that may be within my system)?

A: If you'd like a similar tool downloaded onto your computer, you should check out this IDE (Integrated Developer Environment): Visual Studio Code

It's like Workspaces, but with a LOT more features!

Q3: Once I have finished the day and shut down my Mac, what is the most direct way to come back to my Workspace when I begin the new day? Do I have to be online to open it?

A: You can visit this link. All your workspaces should be stored there. You need to be online to open it.

Does this answer your question?

Travis Alstrand
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Travis Alstrand
Treehouse Project Reviewer

Hey there Diego Garcia ! :wave:

I may not be the best to answer this as I'm sure by now there's probably tools for saving a Python REPL session apart from just the history of commands you've run, but I'm not sure. I did some Googling real quick but didn't see anything immediate and concrete, but I'd recommend doing some searching online.

To be honest though, I've rarely used the REPL (I'm definitely no professional though 😅), especially when going through the Techdegree because I wanted to save these practices / sessions to reference later so I got in the habit of just typing it out in Python files and saving them to my computer. Then I can open them back up, run them in the terminal and go from there.

I may not have answered your question, and I'm sorry if so, just wanted to share my brief experience of going through the courses here with you.

Diego Garcia
Diego Garcia
219 Points

Thanks Travis, thanks Asher! Both your answers help and they confirm Craig’s claim about a very generous community. I’ll keep on trying through your counsel. Weirdly enough, IDLE did not came through when I downloaded Python from the Python site. I tried to download it again and while trying to install it stopped and flashed back a message saying that “installation has not been successful, talk to your software provider”. My Mac is brand new and I am running the last Ventura OS, I’ll keep on checking.