summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-11-09 00:49:19 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-11-09 00:49:19 (GMT)
commit9b86cbcea8f02d4ef56c8e340807eb140dc151cb (patch)
tree5a59c9126e09850a57171fe10ef19c2d6894a629 /Tools
parent903a65d7f15d0e81fb622b7c42f93f9368bebbe5 (diff)
downloadcpython-9b86cbcea8f02d4ef56c8e340807eb140dc151cb.zip
cpython-9b86cbcea8f02d4ef56c8e340807eb140dc151cb.tar.gz
cpython-9b86cbcea8f02d4ef56c8e340807eb140dc151cb.tar.bz2
convert to use print() function
Diffstat (limited to 'Tools')
-rw-r--r--Tools/scripts/win_add2path.py12
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()