python custom command interpreter?

joey boggs jboggs7 at gmail.com
Wed Aug 20 21:46:51 EDT 2008


---------- Forwarded message ----------
From: joey boggs <jboggs7 at gmail.com>
Date: Wed, Aug 20, 2008 at 9:46 PM
Subject: Re: python custom command interpreter?
To: Derek Martin <code at pizzashack.org>


That was my first approach, but it's not clean enough

-point at interpreter
- DROP /directory

That's my guidelines :(


joey boggs wrote:

>* That's kinda what I'm looking for, but it can't be interactive
* > as there's no way to send input during the installation.
>* It should pass the DROP statements to the interpreter and the
* > interpreter takes the input and runs os.rmdir()
 > or something similar. This way the backend does all the

 > work and the frontend

wouldn't it be easier to use a good old Unix shell for this?  or just a
stock Python with some boilerplate code?

     drop("/stuff")
     drop("/otherstuff")

</F>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080820/8758594e/attachment-0001.html>


More information about the Python-list mailing list