Popular recipes tagged "meta:loc=324"http://code.activestate.com/recipes/tags/meta:loc=324/2013-09-29T19:25:23-07:00ActiveState Code RecipesA Phone Book GUI Built in wxPython Connected To Database Using Data Grid View (Python)
2013-09-29T19:25:23-07:00toufic zaarourhttp://code.activestate.com/recipes/users/4187866/http://code.activestate.com/recipes/578676-a-phone-book-gui-built-in-wxpython-connected-to-da/
<p style="color: grey">
Python
recipe 578676
by <a href="/recipes/users/4187866/">toufic zaarour</a>
(<a href="/recipes/tags/database/">database</a>, <a href="/recipes/tags/datagridview/">datagridview</a>, <a href="/recipes/tags/graphical/">graphical</a>, <a href="/recipes/tags/gui/">gui</a>, <a href="/recipes/tags/interface/">interface</a>).
</p>
<p>this GUI as simple as it is explains some basic but important graphical database interfacing; "Add", "Edit","Delete","Search" and few others along with a data grid view. in order to work create an sqlite3 database as follows:</p>
<p>data table : Phone,
column 1 : ID,
column 2 : name,
column 3 : surname,
column 4 : telephone.</p>
<p>save the sqlite3 file as file.db in a folder called Data and place it in the same directory as your python script.</p>
<p>if you want to create the sqlite3 database graphically use my previous post : <a href="http://code.activestate.com/recipes/578665-a-wxpython-gui-to-create-sqlite3-databases/" rel="nofollow">http://code.activestate.com/recipes/578665-a-wxpython-gui-to-create-sqlite3-databases/</a></p>
<p>Also there is more: I did not use auto-number for 'id' because I also wanted to include in the code a renumbering script.</p>
<p>I am pleased to receive all the suggestions and improvements on this site or to my e-mail directly if this is convenient to you.</p>
<p>note: if you don't like the database table name, and columns name create your own but make sure to change them in the code as well! in the end life is great! remember that!</p>
gamma functions (Python)
2008-07-29T13:43:49-07:00nirinA raseliarisonhttp://code.activestate.com/recipes/users/4165935/http://code.activestate.com/recipes/576393-gamma-functions/
<p style="color: grey">
Python
recipe 576393
by <a href="/recipes/users/4165935/">nirinA raseliarison</a>
(<a href="/recipes/tags/algorithm/">algorithm</a>).
</p>
<p>gamma function and natural logarithm of gamma function are part of
C99 standard library but not available on all platforms. this module
makes them accessible.</p>
Tcl WSCP Deployment Script (Tcl)
2002-09-26T21:04:23-07:00Patrick Finneganhttp://code.activestate.com/recipes/users/475144/http://code.activestate.com/recipes/153152-tcl-wscp-deployment-script/
<p style="color: grey">
Tcl
recipe 153152
by <a href="/recipes/users/475144/">Patrick Finnegan</a>
.
</p>
<p>WSCP(WebSphere Control Program) is the command line scripting interface for the IBM WebSphere Java Application Server. WSCP is designed to automate tasks normally executed through the WebSphere Admin Console Java GUI. This script automates the deployment of java .ear files into the WebSphere Repository.</p>