I really like
NodeBox. It's a simple mac application for doing drawings with the
python language. It has split pane window with a drawing window one side and a code editor on the other. It very nice if you want to quickly whip up some 2D graphic output.