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 Meet Python The Python Shell

Treehouse workspace or my computer console?

Hi everybody! I'm making the javascript course and I'm using VS code. I've just start with Python, and I was wondering if I can use the console on my computer or in some way I can use VS code. The reason is because I have already set up VS code, so it auto-save, auto-complete, different colors, etc.

So I wanna bother you about the suggestions that you can give me. Thanks for your time!

3 Answers

James Arnold
James Arnold
3,986 Points

It's really your preference. I personally follow all the videos in VScode to be able to save my notes and the code for reference in the future.

That’s what I want, but do I have to set it up with some extensions? Because it doesn’t look like the console. Sorry for my questions I’m brand new 😬

James Arnold
James Arnold
3,986 Points

Yeah you'll have to download and install Python, then in VScode install the Python extension. After that create a hello.py file(the .py is important to create a Python file) and do a simple 'print('Hello World')'. Then, you'll right click on the code and click 'Run Python in Terminal'. At this point it will most likely tell you to install lint and you'll have to go through those steps as well. These are just one time initial set up steps. After that you'll be able to right click and run the code seamlessly. If my instructions aren't clear enough feel free to Google there's plenty available for first time set up!

Thanks for your time James! I'll try to do it as you explain, if I can't I'll look for more info in google. Thanks again!