diff options
author | Peter Palfrader <peter@palfrader.org> | 2015-07-05 19:52:36 +0200 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2015-07-05 19:52:36 +0200 |
commit | 252a5024d8a90c27a039aad9f55797dff2c4a42f (patch) | |
tree | 19b20cfec8f3b65afc6150d198b371bdee111ec4 | |
parent | c34ffe3693be46f8f4afa1dbddecbee797254237 (diff) |
python3 for rl
-rwxr-xr-x | rl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Ramdomize the lines from stdin. # @@ -37,4 +37,4 @@ lines = sys.stdin.readlines() random.SystemRandom().shuffle(lines) for l in lines: - print l, + print(l, end='') |