Tue Jun 23 12:20:45 CDT 2009
Nils Wagner wrote:
> On Tue, 23 Jun 2009 10:52:13 -0600
> Jim Vickroy <Jim.Vickroy@noaa.gov> wrote:
>> Nils Wagner wrote:
>>> Hi all,
>>> Sorry if the subject is off-topic.
>>> How can I run gimp from python using subprocess ?
>>> I would like to use several arguments, e.g.
>>> gimp --batch-interpreter=plug-in-script-fu-eval -i -d -b
>>> '(script-autocrop "a.png")' -b '(gimp-quit 0)'
>>> Thanks in advance.
>>> SciPy-user mailing list
>> ... don't know what Python version you are using but
>> recent releases (version 2.4 and later) include the
>> *subprocess* module.
>> Questions of this sort are best posted to
> Thank you for your response.
> I know how to import subprocess, but how do I deal with
> all the quotes in the argument list
> of my gimp command ?
> SciPy-user mailing list
It is usually a good idea to (at a minimum) post:
* a small script that demonstrates the error
* the exact text of the error the script triggers
* the version of Python you are using
* the OS you are using
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-user