Add shorthand function for profiling python scripts.