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) Pick a Number! Any Number! The Solution

Sean Maden
Sean Maden
3,504 Points

Is there a way to import the completed "solution" file into my workspace so that I can review the code and tweak it?

I just wanted to start a little archive of the solution files for future reference, and so I can insert reminder comments that describe what exactly the code is doing.

edit: I realize I could just write the code as I am watching the video, but it's difficult to manage space on my screen to have the video running at the same time as my workspace. Maybe I'm missing a feature somewhere that shows the completed file.

2 Answers

Kenneth Love
STAFF
Kenneth Love
Treehouse Guest Teacher

The final code should be in a workspace attached to the last video. Also, most videos/courses have downloads associated with them.

Orestis Pouliasis
Orestis Pouliasis
5,561 Points

You can create a new file in the special workspace, or create a new workspace in the workspace tab and then check your code by having the course's workspace and yours.

Sean Maden
Sean Maden
3,504 Points

Thanks for your answer! to clarify, I can open the workspace and create new python files. I am just looking for a convenient way to import Love's solution without having to review the video and write in the workspace simultaneously. Maybe he has uploaded the solution files somewhere already?