The mkdir() method in Python can create a brand-new directory. This procedure receives the path to the new directory. However, if the complete route is not provided, the new directory is in the current working directory.