From 1579f05cb72fd348a9d0de32fe9017eb54fe0f5f Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Mon, 30 Jan 2017 03:00:23 +0100 Subject: [PATCH] use print function in example --- examples/codepage_tables.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/codepage_tables.py b/examples/codepage_tables.py index 13deb4b..7966036 100644 --- a/examples/codepage_tables.py +++ b/examples/codepage_tables.py @@ -1,6 +1,8 @@ """Prints code page tables. """ +from __future__ import print_function + import six import sys @@ -21,7 +23,7 @@ def main(): dummy.cut() - print dummy.output + print(dummy.output) def print_codepage(printer, codepage):