07-01-2021, 04:33 AM
Sorry for the mistake.
Here you have again:
GIMP 2.10.24 Python Console
Python 2.7.18 (default, Apr 20 2020, 16:57:11) [GCC 9.3.0 64 bit (AMD64)]
➤> import os.path
➤> fname=os.path.join(gimp.directory,'testfile.dat')
➤> print fname
C:\Users\Iñigo\AppData\Roaming\GIMP\2.10\testfile.dat
➤> with open(fname,'w') as dat:
... dat.write('Test successful')
...
Nothing is written in the plugins folder..
Here you have again:
GIMP 2.10.24 Python Console
Python 2.7.18 (default, Apr 20 2020, 16:57:11) [GCC 9.3.0 64 bit (AMD64)]
➤> import os.path
➤> fname=os.path.join(gimp.directory,'testfile.dat')
➤> print fname
C:\Users\Iñigo\AppData\Roaming\GIMP\2.10\testfile.dat
➤> with open(fname,'w') as dat:
... dat.write('Test successful')
...
Nothing is written in the plugins folder..