diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-11-09 00:52:04 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-11-09 00:52:04 (GMT) |
commit | dc326b77e8647f5cb921aaa6e0cacef260b2fbd2 (patch) | |
tree | 898475ce0fe7939193af585dec2757c89712aaf6 /Tools | |
parent | 3ad104bcf94863fa0f4d16d306cdfed75ada0ea7 (diff) | |
download | cpython-dc326b77e8647f5cb921aaa6e0cacef260b2fbd2.zip cpython-dc326b77e8647f5cb921aaa6e0cacef260b2fbd2.tar.gz cpython-dc326b77e8647f5cb921aaa6e0cacef260b2fbd2.tar.bz2 |
Merged revisions 76158 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r76158 | benjamin.peterson | 2009-11-08 18:49:19 -0600 (Sun, 08 Nov 2009) | 1 line
convert to use print() function
........
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() |