Hello,
Anybody knows if it's possible to execute python code from an db.
db=MySQLdb.conn ect(host="local host",user="r", passwd="j",db=" v")
c=db.cursor()
c.execute("""SE LECT * FROM table
WHERE id = %s""", (id,))
for python_code in c.fetchall():
execute (python_code)
Maybe feed python with stdin??.
robert.
Anybody knows if it's possible to execute python code from an db.
db=MySQLdb.conn ect(host="local host",user="r", passwd="j",db=" v")
c=db.cursor()
c.execute("""SE LECT * FROM table
WHERE id = %s""", (id,))
for python_code in c.fetchall():
execute (python_code)
Maybe feed python with stdin??.
robert.
Comment