reading fucking cells

This commit is contained in:
2023-01-24 15:15:53 +01:00
parent 89dc8ed54a
commit be83cbd988
31 changed files with 340 additions and 80 deletions

10
econ/cells/db.py Normal file
View File

@@ -0,0 +1,10 @@
import json
world = {}
def load_world(filepath):
file= open(filepath, 'r',encoding='UTF-8')
data=file.readlines()
global world
world = json.loads(data[0])
return world