Initial release

This commit is contained in:
svk
2017-03-12 15:02:21 +03:00
commit df93e6b87d
3 changed files with 116 additions and 0 deletions

17
dm.py Normal file
View File

@@ -0,0 +1,17 @@
# -*- coding: utf-8 -*-
import sys, json, locale
reload(sys)
sys.setdefaultencoding('UTF-8')
sys.setdefaultencoding(locale.getpreferredencoding())
#locale.setlocale(locale.LC_ALL, 'ru_RU.UTF-8')
table_list = open("tables.json", "r")
data = json.load(table_list)
tDescr = data["tables"][0]["tableDescription"]
tName = data["tables"][0]["tableName"]
fList = data["tables"][0]["fList"]
print(tName)
print(tDescr)
print(fList)