Create an alias or a button:
Button: ! _RunPythonScript ( <paste script in here> )
! _RunPythonScript ( <paste script in here> )
Alias: See here
–Mitch