"Overload" cython/python's print operator for Pixel and PxEvent class