diff options
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/scripts/win_add2path.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Tools/scripts/win_add2path.py b/Tools/scripts/win_add2path.py index c4f481f..b024789 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() |