Python Create Function Name From String To Int