Can you suggest package index used to connect like this pool.Pool(lambda: get function, dbname = “test”) in pooling?
From: Chennaipy [mailto:[email protected]] On Behalf Of kracekumar ramaraju Sent: Wednesday, December 16, 2015 7:55 PM To: Chennai Python User Group Mailing List Subject: Re: [Chennaipy] Query regarding the pool On Wed, Dec 16, 2015 at 2:37 PM, <[email protected]<mailto:[email protected]>> wrote: Hi, I am using the wx python,Mysqldb,odbc connector. Is there any python package which individually imports pool. Script is as follows Import pool db_connection_pool = pool.Pool(lambda:db.open_connection(db=dbtouse)) I am trying to build the code but the application is not triggering the database and the application is leaving a traceback attribute error: module object has no attribute ‘Pool’ Can any one suggest me how to resolve the issue crept in my python application? SQLAlchemy comes with Connection pool [0]. Did you try it ? Any specific reason for separate library ? [0]: http://docs.sqlalchemy.org/en/latest/core/pooling.html Thanks, Kiran _______________________________________________ Chennaipy mailing list [email protected]<mailto:[email protected]> https://mail.python.org/mailman/listinfo/chennaipy -- Thanks & Regards kracekumar "Talk is cheap, show me the code" -- Linus Torvalds http://kracekumar.com
_______________________________________________ Chennaipy mailing list [email protected] https://mail.python.org/mailman/listinfo/chennaipy
