first commit

This commit is contained in:
2024-10-29 16:09:13 +03:00
commit 8bdd4be9b0
42 changed files with 2605 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import json
ar = []
with open('censorship.txt', encoding='utf-8') as read_file:
for i in read_file:
n = i.lower().split("\n")[0]
if n != "":
ar.append(n)
with open('censorship.json', "w", encoding='utf-8') as write_file:
json.dump(ar, write_file)
# with open('name_dict.txt', encoding='utf-8') as read_file:
# for i in read_file:
# n = i.lower().split("\n")[0]
# if n != "":
# ar.append(n)
# with open('name_dict.json', "w", encoding='utf-8') as write_file:
# json.dump(ar, write_file)