Is there any Python API available which supports creating a folder appended with increment number or unique character if the folder already exists?
e.g., In my directory BAR folder already exists. If I try to create a folder "BAR" it should create BAR1.