Skip to content Skip to sidebar Skip to footer

How To Write A Shell In Python

I've written a small console application that can perform certain tasks. The user interface is similar to things like version control systems or yum etc. So basically you can think

Solution 1:

You should check out the cmd and cmd2 modules. I think they will do what you want. There was a PyCon talk about these.

Solution 2:

If you need an administrative shell to be accessed via network Twisted python framework's manhole is a good solution. Example:

http://www.devshed.com/c/a/Python/SSH-with-Twisted/3/

Post a Comment for "How To Write A Shell In Python"