On Thu, May 26, 2005 at 10:03:34PM +0200, Rene Jensen wrote:
> 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.
> 
http://carol.gimp.org/gimp2/resources/python/fontmap.html

carol

_______________________________________________
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user

Reply via email to