Hi AF,
Welcome to the voice coding community and to the programming community :-) Sorry to hear you're here due to unfortunate reasons, but that's true for most of us in the voice coding community.
I would recommend you spend some time learning Python. There are tonnes of books, free online courses and video tutorials for learning Python. And you don't need to jump directly into understanding how to modify Dragonfly or Caster Python scripts, you should start out by simply using an existing voice coding system such as Caster. Use that to control your computer enough to learn normal Python. After you're comfortable enough with normal Python, including "object oriented python", then you can start looking at Caster and Dragonfly scripts and customising them to get more efficient use of voice coding.