Is there a way to share code between python-plugins? A file with common
classes and functions would greatly reduce work-overhead for me.

It would appear that the usual trick (i.e. from mycommonfile import *)
doesn't work as the python interpreter is based at the user home dir
(i.e. calling os.getcwd() returns '/home/username' or whatever). That
makes it a bit of a problem to import a file placed
at /home/username/.gimp-2.2/plug-ins, I think.

Any help appreciated.

Rene Jensen

Gimp-user mailing list

Reply via email to