mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-17 01:41:51 +03:00
Bump scripts to python3
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user