Latest recipes tagged "meta:requires=gensql"http://code.activestate.com/recipes/tags/meta:requires=gensql/new/2011-08-05T01:08:56-07:00ActiveState Code RecipesUse with statement to insert, select and update a table (Python)
2011-08-05T01:08:56-07:00MirGuesthttp://code.activestate.com/recipes/users/4176547/http://code.activestate.com/recipes/577823-use-with-statement-to-insert-select-and-update-a-t/
<p style="color: grey">
Python
recipe 577823
by <a href="/recipes/users/4176547/">MirGuest</a>
.
</p>
<p>Use the <strong>with</strong> statement to insert, select, and update a table.
Every entry may be just a dictionary. You can see the Test.
Here, You need gensql module(http://code.activestate.com/recipes/577605-auto-generate-simple-sql-statements/) to auto generate sql.</p>