From 9b86cbcea8f02d4ef56c8e340807eb140dc151cb Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 9 Nov 2009 00:49:19 +0000 Subject: [PATCH] convert to use print() function --- Tools/scripts/win_add2path.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Tools/scripts/win_add2path.py b/Tools/scripts/win_add2path.py index c4f481f94ce..b024789dfd8 100644 --- a/Tools/scripts/win_add2path.py +++ b/Tools/scripts/win_add2path.py @@ -45,13 +45,13 @@ def modify(): def main(): paths, envpath = modify() if len(paths) > 1: - print "Path(s) added:" - print '\n'.join(paths[1:]) + print("Path(s) added:") + print('\n'.join(paths[1:])) else: - print "No path was added" - print "\nPATH is now:\n%s\n" % envpath - print "Expanded:" - print winreg.ExpandEnvironmentStrings(envpath) + print("No path was added") + print("\nPATH is now:\n%s\n" % envpath) + print("Expanded:") + print(winreg.ExpandEnvironmentStrings(envpath)) if __name__ == '__main__': main()