You can certainly learn by yourself. Here is a thread with comprehensive collection of python learning resources: Learning Python: list of resources
If you learn faster interactively (not everyone can learn reading books) then Istvan is teaching python via video lectures (at a pace that suits beginners) at https://www.biostarhandbook.com/ . You get access to to those lectures as a part of your biostars handbook purchase (Note: access is not free).
I learned from the MIT OpenCourseWare course on python on youtube.
They have links to homework and it's completely free.
Ultimately, it comes down to taking what you learn and applying it to a problem you're interested in. You really only need to learn data types, data structures,
if commands, and
for loops to get started
To learn programming you have to keep coding. There is really nice platform called Rosalind. It is about learning bioinformatics as well as improving coding skills through solving real bioinformatics problems. It is up to you which programming language you use. I would strongly recommend for you.