Interact with system command prompt

B

billie

Hi all. I would like to know if there's some python framework able to
interact with system command prompt (cmd.exe or /bin/sh, depending on
the system) from python.
I need something that supports key/path auto completion by pressing TAB
button and the possibility to use interactive programs like ftp, gpg or
even vi.
I would like to write a remote shell application the best featured as
possible and I'm wondering if Python is able to emulate the
functionalities of applications like telnet or ssh.

Thanks in advance for your helping.
 
D

Diez B. Roggisch

billie said:
Hi all. I would like to know if there's some python framework able to
interact with system command prompt (cmd.exe or /bin/sh, depending on
the system) from python.
I need something that supports key/path auto completion by pressing TAB
button and the possibility to use interactive programs like ftp, gpg or
even vi.
I would like to write a remote shell application the best featured as
possible and I'm wondering if Python is able to emulate the
functionalities of applications like telnet or ssh.

Check out IPython.

http://ipython.scipy.org/


Diez
 
F

Fernando Perez

billie said:
Uhm... It seems that IPython got some problems:
http://ipython.scipy.org/doc/manual/node12.html

In details:

Note that these are simply limitations of what has been done out of
developer interest, not fundamental ones of design. I'm not in the
business of writing system shells, so I (nor anyone else) never implemented
full-fledged job control.

If you do it and send it in, we'll be happy to include it. And I suspect
IPython does a LOT of stuff already that you'll spend a fair amount of time
rewriting from scratch, so perhaps helping in to fill in the missing pieces
might be a good investment of your time.

Cheers,

f (ipython lead developer)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,264
Messages
2,571,065
Members
48,770
Latest member
ElysaD

Latest Threads

Top