What is the path (on Windows) to mention in the open() sentence to open a file with SuperTool?
I tried that syntax (and more /mnt/c…, nothing, …) and everytime I got an Error 2 No such file or directory error
with open("/c/Users/patri/insee_corrig_deces_INSEE_complete.csv", newline='') as insee_file:
with open("/mnt/c/Users/patri/insee_corrig_deces_INSEE_complete.csv", newline='') as insee_file:
with open("insee_corrig_deces_INSEE_complete.csv", newline='') as insee_file:
with open(pathlib.Path(r'C:\Users\patri', r'insee_deces_INSEE_complete.csv'), newline='') as insee_file:
...
My problem, at least I think, is not so much knowing my path (or Gramps path) but knowing what path (or path format) open() wants in SuperTool to open my file
How about using the Gtk File Chooser in the Preferences to (temporarily) set the relative Media Path to the desired location? Take a reading and the set it back to the mapped “G:” drive.
Gtk is pretty fussy about Windows network drive locations. And very unsupportive of Windows enviromental variable features. (The Host/Port network feature apparently only supports linux.)
I am not confident that it will recognize the window path.