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