- new_path = string.join(list_dirs[0:i+1], os.sep)
- if (new_path <> '') and (not os.path.exists(new_path)):
- #print "Making", new_path
+ new_path = os.sep.join(list_dirs[0:i+1])
+ if (new_path != '') and (not os.path.exists(new_path)):
+ #print("Making", new_path)