AskXML >>> from askxml import AskXML >>> conn = AskXML(‘file.xml’) # get an SQL cursor object >>> c = conn.cursor() >>> results = c.execute(“SELECT color FROM fruit WHERE _text LIKE ‘% kiwi'”) >>> for row in results.fetchall(): >>> print(row) [(‘green’), (‘dark green’)] # cleanup >>> c.

read full details at https://ift.tt/2H8SZHt


Slicker: A Tool for Moving Things in Python


Craig talked last post about our project to reorganize our whole Python codebase. This entails a lot of architectural challenges – deciding where to put each file, prioritizing which files and classes to split, and so on – which Carter will talk about more in the final post of this series.

read full details at https://ift.tt/2EelTDT