Python NWC tool to reverse selected notes in a staff

How 2 Create a Python NWC User Tool