convert to use print() function
This commit is contained in:
parent
903a65d7f1
commit
9b86cbcea8
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue