If you are a newbie, it may take around 8 weeks to learn Python. You could learn in less than 8 weeks if you have previous coding experience. It may take 5 weeks to learn basic concepts of python such as oops concepts, data types, control statements, functions, multithreading, exception handling. It may take one week to learn using numpy, pandas, matplotlib that are used for data analysis and data visualization. It may take one week to learn using beautiful soup library for web scraping. You can enroll a good course that
If you want to learn Python, you can enroll in this Python Certification program by Intellipaat that provides Instructor-led training, hands-on experience, and certification also.
You can watch this video on Python for beginners to know the learning path and get started with python: