PLCOpenEditor.py
changeset 1826 91796f408540
parent 1815 f0600fe03a89
child 1832 0f1081928d65
--- a/PLCOpenEditor.py	Fri Sep 22 10:52:44 2017 +0300
+++ b/PLCOpenEditor.py	Fri Sep 22 10:54:42 2017 +0300
@@ -23,6 +23,8 @@
 # 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 wx
 import os
 import sys
@@ -375,8 +377,8 @@
     # def SetOpenFile(
 
     def PrintUsage(self):
-        print "\nUsage of PLCOpenEditor.py :"
-        print "\n   %s [Filepath]\n" % sys.argv[0]
+        print("\nUsage of PLCOpenEditor.py :")
+        print("\n   %s [Filepath]\n" % sys.argv[0])
 
     def ParseCommandLine(self):
         # Parse options given to PLCOpenEditor in command line