DEV Community

Cover image for Why You Should Learn Python
Tina Huynh
Tina Huynh

Posted on

Why You Should Learn Python

Python is a very popular programming language today, especially as a beginner language. It is widely used in various sectors such as web development, machine learning, and data science. Python has surpassed Java as the top programming language!

Python is commonly used for developing websites and software, task automation, data analysis, and data visualization. In general, it takes around 2 to 6 months to learn the fundamentals of Python. Developing mastery of Python's vast array of libraries can take months or years, but don't let that derail you from your end goal.

The only recommended background when learning Python is that you be comfortable writing programs and have an understanding of high-school math (algebra and pre-calculus, possibly).

Learning Python as a part of a wider data analytics skill set will also make you a stronger candidate, as data analysts are expected to have a side array of skills. Some of the hottest fields in tech right now - machine learning and artificial intelligence - rely heavily on programmers with Python skills.

Advantages of Python include but are not limited to:

  • Easy to read, learn and write
  • Improved productivity
  • Interpreted language
  • Dynamically typed
  • Free and open source
  • Vast libraries support

Python can be used for:

  • AI and Machine learning
  • Data analytics
  • Programming applications
  • Game development
  • Finance

Happy coding!

Top comments (3)

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

Easy to read, learn and write

Up to the individual; different people can find it easier to get behind different ways of doing things

 Improved productivity

Every programming language will claim this, it's kind of their main goal most of the time

Interpreted language
Dynamically typed

These are just attributes of the language; they can be good or bad depending on what you want, but just calling them advantages without further qualifiers is really weird

Python can be used for

Any general purpose programming language can be used for anything, that's kind of the point of being general purpose. The first two mentioned are probably a field where python is the most widely used language though.

Programming applications

Yes. Programming languages can be used for programming.

Game development

Again, any language can be used for this, but I'd be surprised if python was the most widely used choice for this though. Lua is still going strong in game scripting, and for the basics, C++ is probably the most important language.

Finance

Zero clue about this one, but considering its adjacency to analytics, I'd be surprised if python wasn't also the most widely used language for this field, other than big legacy code-bases in COBOL & co.

Collapse
 
andrewbaisden profile image
Andrew Baisden

I use it alongside JavaScript its good to have them both. I like the simplicity of Python it's so easy to learn.

Collapse
 
arifpateldubaiprestonuk profile image
Arif Patel Dubai Preston UK

very good, now I want to put into practice the tips!