(self, byte)
Write a byte to tape image.
Write a byte to tape image.
Write a byte to tape image .
def write_byte(self, byte):
        """Write a byte to tape image."""
        bits = [1 if (byte & (128 >> i) != 0) else 0 for i in range(8)]
        for bit in bits:
            self.write_bit(bit)
def write_byte ( self , byte ) : bits = [ 1 if ( byte & ( 128 >> i ) != 0 ) else 0 for i in range ( 8 ) ] for bit in bits : self . write_bit ( bit )