On Wed, Dec 16, 2015 at 2:37 PM, <jakkampudikiranku...@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@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>*
_______________________________________________
Chennaipy mailing list
Chennaipy@python.org
https://mail.python.org/mailman/listinfo/chennaipy

Reply via email to