Get Enum From String Python Replace Command With Percent