path1 = 'c:/fold1/fold2'
list_of_paths = ['c:\\fold1\\fold2', 'c:\\temp\\temp123']
os.path.normpath(path1)
os.path.normpath(path1) in list_of_paths
os.path.normpath(path1) in (os.path.normpath(p) for p in list_of_paths)
Сравнение двух путей в python