Hi,
What is the most pythonic way to find presence of every directory name ['spam', 'eggs']
in path e.g. "/home/user/spam/eggs"
Usage example (doesn't work but explains my case):
dirs = ['spam', 'eggs']
path = "/home/user/spam/eggs"
if path.find(dirs):
print "All dirs are present in the path"
Thanks