Python cprofile helper scripts