Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #39912
| Date | 2013-02-25 21:15 +0000 |
|---|---|
| From | MRAB <python@mrabarnett.plus.com> |
| Subject | Re: telnet to Cognex In-Sight 4001 camera |
| References | <9qya2949lwvwn69b2oqy5xya.1361820262242@email.android.com> <CANVf7b-zce4qGu-dxTzMF7405=MNGurUQcJozbS3QBK-fFkZyg@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2522.1361826958.2939.python-list@python.org> (permalink) |
On 2013-02-25 20:27, Chris Annin wrote:
> Ive tried: read_until("Login: "), read_until("User: ") and read_all()
> all 3 ways return the same thing: "Welcome to In-Sight(R) 4001 Session
> 1\r\nUser:"
>
[snip]
Does the returned string end exactly with "User:" (no space at the
end)? I ask because you're asking it to read until "User: " (space at
the end).
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: telnet to Cognex In-Sight 4001 camera MRAB <python@mrabarnett.plus.com> - 2013-02-25 21:15 +0000 Re: telnet to Cognex In-Sight 4001 camera chris.annin@gmail.com - 2013-02-25 13:52 -0800 Re: telnet to Cognex In-Sight 4001 camera chris.annin@gmail.com - 2013-02-25 13:52 -0800
csiph-web