Working with the Python programming language is hard if you're not familiar with it, and working with it in Houdini is even harder if you don't know what you're doing. So familiarize yourself with some Python and follow this masterclass for Houdini 9.5 on programming with Python. You will get comfortable with writing Python code and some simple scripting involved.
In this class developer Robert Vinluan will take you through the design of a few real-life and prototypical projects which use Python and the Houdini Object Model (HOM). The projects demonstrate how Python and HOM can be used to create tools for network rendering, HDK development and animation workflow.