Extract Character From String Python Documentation