Python Create Class Object From String To Int In Arduino