Question: how long will it take to learn python from scratch?
Answer: Generally speaking, on average it takes about 6-8 weeks to learn the basics. This will get you far enough to understand most lines of code in Python. Python developers have spent much more time in the field, and if you plan on getting into data science counting in months and years is more appropriate.