What's the difference between python and python shell?
How to write a shell in Python - Stack Overflow
Python Shell / Idle
Python Shell
If you have more questions like this it's better to post them on learnpython. Be sure to format your code for reddit or use a site like pastebin. Also, include which version of python and what OS you are using.
More on reddit.comVideos
» npm install python-shell
I recently learnt that shell is a programming language (here) and terminal is a graphical emulator. We use the shebang #!to tell the shell what to use to run the script. For example, if we want to run a py script
#!/usr/bin/env python
If shell itself is another programming language, why do we have to "tell" the shell what interpreter to use if we are using some other language like python? Do all the languages parse everything to shell and then run the script? What's the difference between python and python shell? Does every language have a shell?
You should check out the cmd and cmd2 modules. I think they will do what you want. There was a PyCon talk about these.
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/
» pip install shell