Learn the basics with a good course. Won't take you long once you grasp the basic concepts of object oriented programming.

https://www.udacity.com/course/intro-to-programming-nanodegree--nd000
Then get a copy of Jimmy Song's programming Bitcoin. TBH I've had it sitting around for months and I haven't started on it yet. But it walks you through building a Bitcoin library from scratch in Python.