Hi Labworkrajat.
I learned Python from several sources. “Learn Python The Hard Way” and years of coding Python for Autodesk Maya. However, I didn’t really learn Python properly until I took a course at the University.
I still have lots to learn, and I am always willing to expand my horizon. I think programming on real problems while finding resources to solve it is valuable. Also, make sure you know people who know more than you :D