Basil Shubin пишет:
> Hi friends!
>
> For this code:
>
> from sqlalchemy import *
> import MySQLdb
>
> def connect(user, passwd, dbname, host):
> return MySQLdb.connect(user=user, passwd=passwd,
> db=dbname, host=host)
>
>
> if __name__ == '__main__':
> db = create_engine('mysql://', creator=connect('user', 'pass',
> 'demo',
> '192.168.1.2'))
Problem is here ^^^^^^^^^^^^^^^^^^^^^^^
Anyway thanks, I resolve it.
--
Basil Shubin
Freelance Software Developer
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sqlalchemy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users