Expanding Python as a macro language

Mike Meyer mwm at mired.org
Mon Oct 31 14:01:13 EST 2005


Jorgen Grahn <jgrahn-nntq at algonet.se> writes:

> On 29 Oct 2005 17:25:58 -0700, qwweeeit at yahoo.it <qwweeeit at yahoo.it> wrote:
> ...
>> Michel wrote:
> ...
>> > Linux can run perfectly happily without any form of windowing
>> > environment.
>>
>> I know, but nowadays almost any relevant application has a GUI.
>
> Side note: lots of people would disagree with that. For example, from my
> perspective, almost all relevant applications /lack/ a GUI. (And some that
> has one would be better off without it.)

This brings up an interesting point for scripting unix
applications. One common approach is to provide the application
functionaliity in a library, then wrap that in various ways, of which
a GUI is only one. You "script" the application by wrapping the
library for your favorite scripting language, and the script will never
open a GUI. In fact, it'll work fine in an environment where the GUI
couldn't open at all.

         <mike
-- 
Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.



More information about the Python-list mailing list