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 can Python do things other languages can't or is preferred?

I hear or read a lot that Python is good for ML, Analytics, AI, etc. But what is exactly there that other languages don't have and can't do it the way Python can in terms of syntax, platform and other technologies it has or make use of.

For instance, how would it to be the same with other languages?

1 Answer

Steven Parker
Steven Parker
229,788 Points

Python is often preferred because it has many capabilities and has simpler syntax compared to many other languages.

But most any job can be done in most languages, and a few of the language-generic (computer science) courses actually provide examples of the same task being done in different languages.