"Madhusudan Singh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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 -- http://mail.python.org/mailman/listinfo/python-list