how to match beginning of string or character in python,return [t[len(parm):] for t in dir.split('_') if t.startswith(parm)]