open(ufo_path/glyphspackage_path)
actually raises the Traceback:
IsADirectoryError: [Errno 21] Is a directory: 'pathToFile.ufo | glyphspackage'
Could this be possible to add/fix?
Thanks!
open(ufo_path/glyphspackage_path)
actually raises the Traceback:
IsADirectoryError: [Errno 21] Is a directory: 'pathToFile.ufo | glyphspackage'
Could this be possible to add/fix?
Thanks!
Can you how the full script?
This works for me:
Glyphs.open("path to .ufo or .glyphspackage")
Your snippet suggests that you use the file open()
function form Python. That can’t work with .ufo or .glyphspackage as those are packages/folders.
You’re right, I was not using Glyphs.open(path)
. How silly… Anyway, it works perfect. Many thanks!