Prototype for Python printer implemented