Python Plug-In Module Import Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


I'm currently developing multiple plug-ins for GIMP on version 2.10.18. I'm
trying to import the os module into my script. When I do so and run the
script within GIMP from its registered menu path, GIMP throws an error. I
noticed some built-in plug-ins are able to import os and the os site
package is part of the interpreter but I don't know what I need to do to
import os without fail. My plug-ins are located in the default writable
plug-ins directory. I've tried other module imports but the only one that
works is gimpfu. I'm using import os for os.listdir() and without this I
will not be able to complete some of these plug-ins.
gimp-developer-list mailing list
List address:    gimp-developer-list@xxxxxxxxx
List membership:
List archives:

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux