import sys def inspect(): print locals().get("sys")