12-08-2020, 09:13 AM
(12-08-2020, 07:28 AM)Ofnuts Wrote: Do you get any output from the Python code (print statements)? Otherwise see here for some hints.
PS: I don't see how Gimp or the Python code could change the status of the directory. OTOH IIRC on recent Windows unknown apps are not always allowed to write files, so maybe you need to give Gimp some privileges.
I've reinstalled as Admin, and I'm able to create a script create a folder (yay! )
Code:
def make_dir():
mainDir = "D:\\temp\\images"
folder = "spoon"
fname = os.path.join(mainDir, folder)
# make a directory
os.mkdir(fname)
msg = "Make a " + folder + " directory!! " + "\n"
gimp.message(msg)
Now the main thing is trying to work out
(a) how to get some sort of error log feedback and (b) which line/s doesn't it like.