Hola,
SQLAlchemy 0.7.8-1
python 2.4
Si hago algo como lo siguiente [1] todo funciona perfectamente. Luego puedo
crear la tabla en la DB con el nombre table1, y puedo interaccionar con
ella.
Lo que quisiera hacer es que el nombre de la tabla fuese un parametro. Pero
si hago algo como [2], al
Algo como esto quiza te ayude
from sqlalchemy import *
from sqlalchemy.orm import *
class Persist:
def __init__(self):
self.url = mysql://root:123456@localhost/database
self.db = create_engine(self.url)
self.metadata =
Hola, podrías plantearte usar un set en ver de un array:
http://docs.python.org/library/stdtypes.html#set-types-set-frozenset
___
Python-es mailing list
Python-es@python.org
http://mail.python.org/mailman/listinfo/python-es
FAQ: