Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/c/o/Controller-HEAD/Controller_gui/TransLayer.py   Controller(Download)
      raise IOError, "Could not open serial port %s " %comport
 
    # now lets have the flags defined
    self.START_FLAG = 'S'             # this flag has been set as start of frame
    self.PIN_OP     = 'P'             # pin operations flag
 
    # String messages that can be possibly returned by the board 
    self.exceptions = {"ERROR": (IOError, "Unknown error occured "), 
                    "Invalid pin" : (ControllerExceptions.InvalidPinException, "The pin number specified was invalid "),
                    "Invalid arguments" : (ControllerExceptions.InvalidParameterException, "Invalid argument was passed ")