Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #66692
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <wrw@mac.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.053 |
| X-Spam-Evidence | '*H*': 0.89; '*S*': 0.00; 'python.': 0.02; 'cc:addr :python-list': 0.11; 'python': 0.11; 'investigate': 0.16; 'received:mac.com': 0.16; 'subject:program': 0.16; 'wrote:': 0.18; 'received:10.0.1': 0.19; 'feb': 0.22; 'programming': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**1': 0.23; 'cc:no real name:2**0': 0.24; 'script': 0.25; 'references': 0.26; 'subject:/': 0.26; 'am,': 0.29; 'url:mailman': 0.30; 'quite': 0.32; 'url:python': 0.33; 'could': 0.34; 'but': 0.35; 'google': 0.35; 'module.': 0.36; 'url:listinfo': 0.36; 'method': 0.36; 'charset :us-ascii': 0.36; 'hi,': 0.36; 'received:10.0': 0.36; 'url:org': 0.36; 'list': 0.37; 'received:10': 0.37; 'received:17': 0.38; 'expect': 0.39; 'does': 0.39; 'url:mail': 0.40; 'equipment': 0.61; 'new': 0.61; 'here:': 0.62; "you've": 0.63; 'to:addr:gmail.com': 0.65; '2014,': 0.84; 'header:In-reply-to:1': 0.84; 'url:latest': 0.91 |
| X-Proofpoint-Virus-Version | vendor=fsecure engine=2.50.10432:5.11.87,1.0.14,0.0.0000 definitions=2014-02-19_03:2014-02-18,2014-02-19,1970-01-01 signatures=0 |
| X-Proofpoint-Spam-Details | rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1401130000 definitions=main-1402190064 |
| Content-type | text/plain; charset=us-ascii |
| MIME-version | 1.0 (Mac OS X Mail 6.6 \(1510\)) |
| Subject | Re: SSH/Telnet program to Router/switch |
| From | William Ray Wing <wrw@mac.com> |
| In-reply-to | <d343f9af-54f2-4709-9a99-1ad5708c1f34@googlegroups.com> |
| Date | Wed, 19 Feb 2014 09:27:53 -0500 |
| Content-transfer-encoding | quoted-printable |
| References | <d343f9af-54f2-4709-9a99-1ad5708c1f34@googlegroups.com> |
| To | Sujith S <sujiths80@gmail.com> |
| X-Mailer | Apple Mail (2.1510) |
| Cc | python-list@python.org, William Ray Wing <wrw@mac.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.7150.1392820082.18130.python-list@python.org> (permalink) |
| Lines | 22 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1392820082 news.xs4all.nl 2972 [2001:888:2000:d::a6]:40805 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:66692 |
Show key headers only | View raw
On Feb 19, 2014, at 3:14 AM, Sujith S <sujiths80@gmail.com> wrote: > Hi, > > I am new to programming and python. I am looking for a python script to do ssh/telnet to a network equipment ? I know tcl/perl does this using expect/send. > > Do we have expect available in python as well or need to use some other method ? > > Regards > Sujith > -- > https://mail.python.org/mailman/listinfo/python-list In addition to the other answers you've received (and noting that you are familiar with "expect"), you might want to investigate the pexpect module. Google will give you quite a long list of references to it, but you could start here: http://pexpect.readthedocs.org/en/latest/ -Bill
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
SSH/Telnet program to Router/switch Sujith S <sujiths80@gmail.com> - 2014-02-19 00:14 -0800
Re: SSH/Telnet program to Router/switch Chris Angelico <rosuav@gmail.com> - 2014-02-19 19:45 +1100
Re: SSH/Telnet program to Router/switch Wojciech Łysiak <wojciech.lysiak@hotmail.com> - 2014-02-19 09:45 +0100
Re: SSH/Telnet program to Router/switch Ferrous Cranus <nikos.gr33k@gmail.com> - 2014-02-20 02:59 -0800
Re: SSH/Telnet program to Router/switch Rodrick Brown <rodrick.brown@gmail.com> - 2014-02-25 07:53 -0500
Re: SSH/Telnet program to Router/switch Johannes Schneider <johannes.schneider@galileo-press.de> - 2014-02-19 11:36 +0100
Re: SSH/Telnet program to Router/switch Roy Smith <roy@panix.com> - 2014-02-19 08:35 -0500
Re: SSH/Telnet program to Router/switch Chris Angelico <rosuav@gmail.com> - 2014-02-20 00:58 +1100
Re: SSH/Telnet program to Router/switch Roy Smith <roy@panix.com> - 2014-02-19 09:13 -0500
Re: SSH/Telnet program to Router/switch William Ray Wing <wrw@mac.com> - 2014-02-19 09:27 -0500
csiph-web