def osCopy(self):
        """ Triggers the OS "copy" keyboard shortcut """
        k = Keyboard()
        k.keyDown("{CTRL}")
        k.type("c")
        k.keyUp("{CTRL}")
def osCopy ( self ) : k = Keyboard ( ) k . keyDown ( "{CTRL}" ) k . type ( "c" ) k . keyUp ( "{CTRL}" )
Triggers the OS "copy" keyboard shortcut