I’m trying to make a directory but I keep getting the error
File "c:UsersIsaacOneDriveDesktopPythontesting.py", line 5, in <module>
os.mkdir(directory,title)
TypeError: 'str' object cannot be interpreted as an integer
my code is
directory = r"C:Python"
title = "hi"
os.mkdir(directory,title)
I tried changing it to os.makedirs() but that didn’t work, and I tried using strings instead of variable