import os directory = "ihritik" parent_dir = "/home/User/Documents/GeeksForGeeks/Authors" path = os.path.join(parent_dir, directory) os.makedirs(path)