Python Get Variable From String Import