Question about item affixes

I’m very new to coding, only spent a few days learning python so i’m not sure if I can do this. I’d like to remove all current predefined affixes on legendary and epic gear and make them random instead like magic items. Does someone know if this is easy or hard to do? Any pointers?

Either that or add bonus random affixes on legendary items, but then i’d have to double up the game difficulty…

Thanks if anyone helps! I’m happy that i supported grim dawn, hopefully some amazing mods will be made!

I have R script that does this, will post in the next day a short tut with code and I am sure you can port it to python if that is your fancy. Or try R. It is great fun.

Thank you! I’ll look into it tomorrow then and comment if I still have no clue.