Can some one tell me as how can i use STAF in python.
suppose i have script which connects to DB and fetches the data , in this
case how can i use STAF.
below is sample script
import MySQLdb
db=MySQLdb.Connect("localhost","root","san123","phone")
cursor=db.cursor()
cursor.execute("SELECT * FROM phonebook WHERE Name ='san')
get_contact=cursor.fetchall()
print get_contact
db.close()
please let me know how ca i use STAF here, any other simple example for STAF
usage other than the above script is also appreciated.
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users