I'm trying to check if a path exists so it creates it if it doesn't exist but it always runs despite the folder existing. i.e. evaluating to false:
if not os.path.isdir(('thumnail\\' + folderName).replace('\\', '/')):
os.makedirs('thumbnail\\' + folderName)
Whats the correct way to do this. I've tried using path.exists, changing the escaped '\' to '/' and not doing it but its always false.