>>> from kenobi import KenobiDB  

>>> db = KenobiDB('example.db')  

>>> db.insert({'name': 'Yoda', 'lightsaber': 'green'})  
True  

>>> db.search('lightsaber', 'green')  
[{'name': 'Yoda', 'lightsaber': 'green'}]  
  • logging_strict
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    1 day ago

    i’ll take pissing on the OPs parade for 100 Alex

    OP heard our advice and acted. In my book, that puts him in the awesome category.

    We need more of that and more people willing to contribute rather than being Captain Obvious