All pastes #968584 Raw Edit

Someone

public python v1 · immutable
·published 2008-04-03 03:55 UTC
rendered paste body
import serialimport timeimport atexitbase = serial.Serial(port = "COM3",baudrate = 115200,timeout = 0.25)def exitfunc():    print "EXITING!!!"    base.close()atexit.register(exitfunc)# a is not defined! this should cause it to exita[0]