End or Identify (EOI) character ?

Terry Reedy tjreedy at udel.edu
Sun Sep 18 01:31:56 EDT 2005


"Madhusudan Singh" <spammers-go-here at spam.invalid> wrote in message 
news:432cb8fd$0$18650$14726298 at news.sunsite.dk...
> Hi
>
> I was wondering how does one detect the above character. It is returned 
> by
> an instrument I am controlling via GPIB.

EOI = chr(n) # where n is ASCII number of the character.
# then whenever later
if gpid_in == EOI: #do whatever

Terry J. Reedy






More information about the Python-list mailing list