Python Create Function Name From String To Array