Веб интерфейс для корректировки работы ASP, его интеграция с алгоритмами генерации

This commit is contained in:
IDONTSUDO 2023-07-04 07:19:55 +00:00 committed by Igor Brylyov
parent 23edfea360
commit c1e4b0e0f0
57 changed files with 2969 additions and 290 deletions

View file

@ -0,0 +1,15 @@
import os
import json
class FS:
def readJSON(path: str):
return json.loads((open(path)).read())
def writeFile(data, filePath, fileName):
file_to_open = filePath + fileName
f = open(file_to_open, 'w', encoding='utf-8',
errors='ignore')
f.write(data)
f.close()