For Loop Through A String Python Definition Library