Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ofn-preset-guides
#35
[ofnuts here]

OK, got hold of a Windows system. I do get an error:

Code:
➤> import os.path
➤> fname=os.path.join(gimp.directory,'testfile.dat')
➤> print fname
C:/Users/XXXX/NiñoDéjàVu/GIMP/2.10/testfile.dat
➤> with open(fname,'w') as dat:
...     dat.write('Test successful')
...
Traceback (most recent call last):
  File "<input>", line 1, in <module>
IOError: [Errno 2] No such file or directory: 'C:/Users/XXXX/Ni\xc3\xb1oD\xc3\xa9j\xc3\xa0Vu/GIMP/2.10/testfile.dat'
➤>
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: