I suck at python and will probably never understand it. And Im probably not alone in that thought.
But I did think of a way of making it easier & accessible to noobs.
So its python in blender but using nodes to put together.
So…
node 1 for a script would add info. (click node to edit info.)
connect to
node 2 import whatever needed bpy ops (alt click to see the python code)
connect to node 3 get selected
node 4 do something add modifier
final node whatevers at the bottom register something i dunno.
for a modifier
add panel
add function, connect to that button or slider.
I know theres more to python than that and it would have to evolve in complexity. people adding more features over time.
Just a random thought I had whilst drinking coffee and have not thought through, feel free to beat it down.