Java Make Path From String To Float Python