cstorage/cstorage-debug.py

14 lines
217 B
Python
Executable File

#!/usr/bin/env python3
from dStorage.core import dStorage
t = dStorage([],[])
t.debug = 0
t.dpath="/home/leonardo/databases/"
t.set_database("sData")
t.table = "info"
t.l_pdindex()
t.litems()
t.loaddata(0)
t.show()