telnet to Cognex In-Sight 4001 camera

MRAB python at mrabarnett.plus.com
Mon Feb 25 22:15:54 CET 2013


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).




More information about the Python-list mailing list