[Chennaipy] Query regarding the pool

kracekumar ramaraju kracethekingmaker at gmail.com
Wed Dec 16 09:25:02 EST 2015


On Wed, Dec 16, 2015 at 2:37 PM, <JakkampudiKiranKumar at eaton.com> 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
> Chennaipy at python.org
> https://mail.python.org/mailman/listinfo/chennaipy
>
>


-- 

*Thanks & Regardskracekumar"Talk is cheap, show me the code" -- Linus
Torvaldshttp://kracekumar.com <http://kracekumar.com>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chennaipy/attachments/20151216/fb11c3c0/attachment.html>


More information about the Chennaipy mailing list