New to python and generally object-oriented programming. I have written a script to do some stuff and here is a very simplified version of it with its main structure.
<