(self, s)
Write to the parallel port.
Write to the parallel port.
Write to the parallel port .
def write(self, s):
        """Write to the parallel port."""
        with safe_io():
            if self._parallel.getInPaperOut():
                raise error.BASICError(error.OUT_OF_PAPER)
            for c in iterchar(s):
                self._parallel.setData(ord(c))
def write ( self , s ) : with safe_io ( ) : if self . _parallel . getInPaperOut ( ) : raise error . BASICError ( error . OUT_OF_PAPER ) for c in iterchar ( s ) : self . _parallel . setData ( ord ( c ) )