Your question is not very clear. But if I understand you correctly, you can do something like this
l = sorted(["abcd", "abc", "ab", "a"], key = len)
print [ss for idx, ss in enumerate(l) if all(ss not in cs for cs in l[idx + 1:])]
Output
['abcd']