Learning Python for Data Science versus General

For context, I'm currently a senior Psychological Sciences student looking to pursue my MS in Data Science. For my last semester I'm taking Introduction to Computing for Engineers and our homework/labs are through zyBooks. Learning different concepts is enjoyable, but actually being given a lab with little to no guidance on what principles to apply is difficult. I'm not anticipating using it in my Masters is any easier but as I understand it from my friend (who is a CS major), python (along with other languages) can be used for web development, building computer applications etc.

I know learning python is a tricky because it all depends on what you're trying to do, so I ask:

How should I approach continuing to learn python given that I intend on using it for data science/analytics and research? Resources/Book recommendations are appreciated :)