Python Create Function Name Parsing