Python is one of the most popular programming languages for a number of reasons. The most important of which is it's easily read syntax. For this reason, the learning curve with Python is not as steep as C++ or Java.
To learn Python with no prior programming experience could take anywhere from 3 - 6 months. For those with experience in other languages such as PHP or Ruby, the learning time decreases significantly.
Another factor in the length of time needed to learn Python is your career path. Data Analysts, for example, are going to use Python in a different way than a web developer would.
Regardless of your career trajectory figuring out how to code in Python is an invaluable skill. Here is how I learned and used my Python skills to start multiple online businesses.
There is no sense in investing time and money into something you're not sure you'll like. Youtube is packed with tons of video tutorials on Python and w3schools.com is a great place to learn the fundamentals in a written format.
Once you have the basics down, take a free Python quiz to identify your areas of weakness. Now, depending on your career path, you should learn about the Python libraries and frameworks you'll be working with.
The easiest Python framework to learn is Flask with Django being a close second even though it has a much cooler name. Flask is the perfect environment for beginners as it's a bit more Pythonic than Django.
In addition, it's very lightweight and enables developers to get web applications and sites deployed in a fraction of the time it would take otherwise. Here is a video of an application I built entirely with Python.
The full-stack application I showcased in the video is a tool that stores patient information, current costs of medication, and prescription drug formularies. In addition, the app can send text messages, and faxes, and generate reports all through the power of Python.
If I were to learn Python all over again here are the steps I would take.
The important thing to take away is that you should spend way more time coding than reading about coding or watching someone else code. Experience is truly the best teacher when it comes to writing Python code.
Spending hours debugging your program only to find out you spelled a variable wrong is the best way to toughen yourself mentally and become a better engineer overall.
Whether you hope to become an analyst, engineer, or create your own SaaS, Python is a great language to learn. It's syntax is super easy to read and with frameworks like Flask, you can build your portfolio in no time.
Posted by: Matt Irving on 4/24/2023