docutil/docpdf.py
changeset 1826 91796f408540
parent 1780 c52d1460cea8
child 1828 396da88d7b5c
--- a/docutil/docpdf.py	Fri Sep 22 10:52:44 2017 +0300
+++ b/docutil/docpdf.py	Fri Sep 22 10:54:42 2017 +0300
@@ -22,6 +22,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+from __future__ import print_function
 import os
 import wx
 
@@ -58,7 +59,7 @@
     if pagenum is None:
         os.system("%s -remote DS301 %s &" % (readerexepath, pdffile))
     else:
-        print "Open pdf %s at page %d" % (pdffile, pagenum)
+        print("Open pdf %s at page %d" % (pdffile, pagenum))
         os.system("%s -remote DS301 %s %d &" % (readerexepath, pdffile, pagenum))