--- 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