Is there a way that I can use python to edit my right click menu in windows explorer?

I know I can add items via regedit, but I want to add a nested menu ie when I click 7-zip a list of commands will pop up (This functionality is not available to edit via registry).

Thank you for your time and effort,