Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Python

Why do we need to download python?

This is more of a curiosity than anything useful ( maybe ), but I need to ask it anyway. What do we download when we download Python? and what does that "Python" include? I mean what is in there? Is it a software or a library or anything like that? Can anyone give me an insight on this? It would be very helpful.

Thanks in advance...

2 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! When you download Python, you are essentially downloading a compilation of C libraries that comprise the Python language. To be able to compile your Python code, you must have access to the Python compiler and language libraries. Luckily, Python is open source, so if you'd like to see what goes into Python, you can take a look here. I have some experience with C, but I can tell you that 90% of the code there is way above my head. For instance, take a look at what is actually under the hood when you count the length of a string in Python. You can find that here.

Hope this helps! :sparkles:

Hey Jennifer Nordell, thanx a lot...