DataCamp offers a set of courses oriented on programming and data scientist. I found some basic courses about python that have helped me to understand how the language works and practice with a good balance of theory and exercise.
Intro to Python for Data Science, is the free course that enables you to understand how basic things work.
I have also done a couple of chapters related to data import and data visualization that helped me to understand how to work on it.