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

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...