python mmkeys