How much time does it take to learn Python? That’s a complicated question we’ve got here.
Before coming to the answer to the question, just know that Python is an easy to learn, flexible, powerful programming language. If you want to know more about Python, check out their official documentation
The answer to this question depends on what your goals are. If you are a complete beginner, don’t have any experience with other languages, it may take 3-4 weeks for learning the basics of the language like syntax, datatype etc. (Keep in mind that this may vary, because the learning rate of each learner may vary).
If you want to dive deeper into Python, like data structures, decorators, generators, etc. it may take 5-6 weeks to learn with a consistent learning rate. You learn more and more while you are trying to solve problems.
After that, you can start to learn about different libraries in Python like NumPy, Pandas, Matplotlib, Sklearn, etc. This level of understanding will help you to understand and workout many areas of machine learning, artificial intelligence, etc.
Note that, you could probably spend a lifetime learning Python. There are numerous libraries to explore. The language itself changes overtime. To become a master in Python you need to continuously learn and grow over the course of time.
Perseverance is the key. Where there is a will, there is a way. Happy learning.