(self, port)
Initialise the ParallelStream.
Initialise the ParallelStream.
Initialise the ParallelStream .
def __init__(self, port):
        """Initialise the ParallelStream."""
        if not parallel:
            raise IOError('`parallel` module not found. Parallel port communication not available.')
        try:
            self._parallel = parallel.Parallel(port)
        except TypeError:
            raise IOError('Invalid port specification.')
        self._port = port
def __init__ ( self , port ) : if not parallel : raise IOError ( '`parallel` module not found. Parallel port communication not available.' ) try : self . _parallel = parallel . Parallel ( port ) except TypeError : raise IOError ( 'Invalid port specification.' ) self . _port = port