import sys
for each in sys.modules:
print each, "---", sys.modules[each]
Does anyone know what file populates the maya.cmds list on import. It is clearly being called during maya's initialization but i don't know from where. The cmds/__init__.py package is empty so it does not get it from there. I have also read that it comes from /apps/startup/basic.py which calls commands.py, however maya.cmds works properly even when commands.py is deleted. Lastly, I have tried doing a file contents search for maya.cmds but none of the results seem to populate it either.