comparison python/randomize.py @ 903:08da6a1bb4c9

py3
author Jeff Hammel <k0scist@gmail.com>
date Sat, 18 Nov 2023 13:24:26 -0800
parents 12299cbc45ee
children
comparison
equal deleted inserted replaced
902:06d2cc0fe045 903:08da6a1bb4c9
27 random.shuffle(args) 27 random.shuffle(args)
28 if options.callable: 28 if options.callable:
29 for i in args: 29 for i in args:
30 subprocess.call([options.callable, i]) 30 subprocess.call([options.callable, i])
31 else: 31 else:
32 print '\n'.join(args) 32 print('\n'.join(args))