python custom command interpreter?

Fredrik Lundh fredrik at pythonware.com
Wed Aug 20 23:50:22 CEST 2008


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>




More information about the Python-list mailing list