>>> from kenobi import KenobiDB  

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

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

>>> db.search('lightsaber', 'green')  
[{'name': 'Yoda', 'lightsaber': 'green'}]  
  • @[email protected]
    link
    fedilink
    4
    edit-2
    5 months 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