def run_ptv(): import PenguinTVActivity PenguinTVActivity.main() import profile profile.run('run_ptv()', '/tmp/penguintv-prof')