Python Extract String Between Stringstream Getline C