mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-11-09 03:24:14 +01:00
20 lines
286 B
Python
20 lines
286 B
Python
|
|
||
|
outfile = open('allCharacters.txt', 'w')
|
||
|
|
||
|
chars = set()
|
||
|
|
||
|
with open('./web/_js/atlas.js') as f:
|
||
|
while True:
|
||
|
c = f.read(1)
|
||
|
if not c:
|
||
|
chars = list(chars)
|
||
|
chars = sorted(chars)
|
||
|
string = ""
|
||
|
for i in chars:
|
||
|
string += i
|
||
|
outfile.write(string)
|
||
|
break
|
||
|
|
||
|
chars.add(c)
|
||
|
|