gcmd-devel
[Top][All Lists]
Advanced

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

Re: [gcmd-dev] License of GC


From: Piotr Eljasiak
Subject: Re: [gcmd-dev] License of GC
Date: Sun, 03 Dec 2006 22:55:55 +0100

> > The latest exciting addition is support for python scripting - available
> > in DEVEL branch of cvs repo. This is really a new dimension of gcmd,
> > which allows end users accessing gcmd with the power of python...
> > 
> 
> Yes, it may well be that (i cannot try it, se my bugreport
> in the last mail).
> 
> But i have a little question. You say "accessing gcmd with
> the power of python". Well, (if one know how to master python)
> in what way does this differ from using a python/pygtk script
> "placed" in Options->Programs?

Mastering python is that difficult - usually it takes a few hours to get
the feeling and to start coding.

Python scripts can be of course started 'the old way' - as an external
program (via Options->Programs), but their main advantage is that they
are executed inside gcmd (using internal interpreter) and this allows
passing some extra information to the script. Currently every script is
executed with parameters:
 - current dir of the active pane
 - current dir of the other one
 - list of selected files in the active pane
This should allow to implement for example moving files from one pane to
another. Or whatever else... 
One can think of them as shell scripts on steroids ;o)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]