14 lines
217 B
Python
14 lines
217 B
Python
|
#!/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()
|