Python Execute Command From String To Real Number