Bump scripts to python3

This commit is contained in:
Jan Henning
2022-05-19 16:25:08 +02:00
parent 0a35a467e0
commit 85a77e3eff
8 changed files with 34 additions and 35 deletions

View File

@@ -23,17 +23,17 @@ if len(args) != 0:
parser.error("incorrect number of arguments")
if (options.full):
crange = range(0,256)
crange = list(range(0,256))
crange.remove(ord('\n'))
elif (options.limited):
crange = [ ord(c) for c in LIMITED_ALPHABET ]
else:
crange = range(32, 127)
crange = list(range(32, 127))
srange = [ chr(c) for c in crange ]
i = 0
for x in product(srange, repeat = options.depth):
line = str(i) + ":/" + "".join(x) + "/"
print line
print(line)
i += 1