Python String Prefix Match, Initialize the prefix string.