Skip to content

Instantly share code, notes, and snippets.

@danbradham
danbradham / hotkeys.py
Last active November 22, 2022 08:06
Autodesk Maya hotkeys with Python
from __future__ import print_function
from collections import namedtuple
from maya import cmds
import pymel.core as pmc
from maya.utils import executeDeferred
from functools import wraps
KeySequence = namedtuple('KeySequence', 'ctrl shift alt key full')