Python Function Name As Variable Frequency