Added the --python option to run python files automatically that had events.