def output_colormap(colormap):
	for c in colormap:
		x = struct.pack("B", c)
		os.write(sys.stdout.fileno(), x)
Output the given palette to stdout.
dataset/ETHPy150Open freedoom/freedoom/lumps/colormap/colormap.py/output_colormap