Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ofn-preset-guides
#27
Can you try this in the Python console (Filters ➤ Python-fu ➤ Console)

Copy/paste all of this to the pyhon console (the leading spaces in the last line are important), and then strike enter until the prompt returns to ➤>
Code:
import os.path
fname=os.path.join(gimp.directory,'testfile.dat')
print fname
with open(fname,'w') as dat:
    dat.write('Test successful')
If you get error messages, copy them here. If you don't check that the file whose name has been printed has been indeed created and contains Test successful.
Reply


Messages In This Thread
ofn-preset-guides - by Ofnuts - 04-04-2020, 11:05 AM
RE: ofn-preset-guides - by akovia - 04-04-2020, 08:52 PM
RE: ofn-preset-guides - by mahvin - 04-28-2020, 02:41 PM
RE: ofn-preset-guides - by Ofnuts - 04-28-2020, 02:57 PM
RE: ofn-preset-guides - by mahvin - 04-28-2020, 03:00 PM
RE: ofn-preset-guides - by Ofnuts - 04-28-2020, 03:15 PM
RE: ofn-preset-guides - by mahvin - 04-28-2020, 03:23 PM
RE: ofn-preset-guides - by Ofnuts - 04-28-2020, 04:06 PM
RE: ofn-preset-guides - by mahvin - 04-28-2020, 10:47 PM
RE: ofn-preset-guides - by mahvin - 04-29-2020, 04:11 AM
RE: ofn-preset-guides - by Ofnuts - 04-29-2020, 08:54 AM
RE: ofn-preset-guides - by miguel - 02-19-2021, 09:31 PM
RE: ofn-preset-guides - by Ofnuts - 02-20-2021, 08:44 AM
RE: ofn-preset-guides - by miguel - 02-20-2021, 11:02 AM
RE: ofn-preset-guides - by Ofnuts - 02-20-2021, 11:49 AM
RE: ofn-preset-guides - by miguel - 02-20-2021, 01:30 PM
RE: ofn-preset-guides - by Ofnuts - 02-20-2021, 05:09 PM
RE: ofn-preset-guides - by teapot - 06-18-2021, 12:42 AM
RE: ofn-preset-guides - by Ofnuts - 06-18-2021, 06:38 AM
RE: ofn-preset-guides - by Ofnuts - 06-20-2021, 12:42 PM
RE: ofn-preset-guides - by EdoNork - 06-20-2021, 05:50 PM
RE: ofn-preset-guides - by Ofnuts - 06-20-2021, 07:12 PM
RE: ofn-preset-guides - by EdoNork - 06-26-2021, 03:19 PM
RE: ofn-preset-guides - by teapot - 06-22-2021, 01:13 AM
RE: ofn-preset-guides - by rich2005 - 06-22-2021, 10:11 AM
RE: ofn-preset-guides - by Ofnuts - 06-22-2021, 12:22 PM
RE: ofn-preset-guides - by Ofnuts - 06-26-2021, 11:42 PM
RE: ofn-preset-guides - by EdoNork - 06-27-2021, 05:36 AM
RE: ofn-preset-guides - by Ofnuts - 06-27-2021, 08:14 AM
RE: ofn-preset-guides - by EdoNork - 07-01-2021, 04:33 AM
RE: ofn-preset-guides - by Ofnuts - 07-01-2021, 06:32 AM
RE: ofn-preset-guides - by EdoNork - 07-01-2021, 06:20 PM
RE: ofn-preset-guides - by Ofnuts - 07-01-2021, 10:27 PM
RE: ofn-preset-guides - by EdoNork - 07-05-2021, 06:55 PM
RE: ofn-preset-guides - by Poupée-Chaussette - 07-05-2021, 07:46 PM
RE: ofn-preset-guides - by Ofnuts - 07-05-2021, 08:01 PM
RE: ofn-preset-guides - by EdoNork - 07-10-2021, 03:47 AM
RE: ofn-preset-guides - by Ofnuts - 07-13-2021, 07:49 PM
RE: ofn-preset-guides - by EdoNork - 07-16-2021, 07:50 PM
RE: ofn-preset-guides - by Ofnuts - 07-17-2021, 08:26 PM

Forum Jump: