From: Jack A. <ef...@gm...> - 2007-02-19 05:09:43
|
hi, thanks for py2exe. i'm writing a database tool and i want to connect to one or more databases. (oracle, postgres, mysql to start with). not only this, but i want to connect to different versions of the same database (eg. oracle 10/9, mysql 5/4, ...) as a general rule, would you say that there shouldn't be a problem if it 'works in python', or what gotchas will there be for me? jack |
From: Larry B. <lar...@we...> - 2007-02-19 18:18:58
|
Jack Andrews wrote: > hi, thanks for py2exe. > > i'm writing a database tool and i want to connect to one or more > databases. (oracle, postgres, mysql to start with). > > not only this, but i want to connect to different versions of the same > database (eg. oracle 10/9, mysql 5/4, ...) > > as a general rule, would you say that there shouldn't be a problem if > it 'works in python', or what gotchas will there be for me? > > > jack > > ------------------------------------------------------------------------- > 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 In general if it works with Python you can use py2exe to compile it into a distributable module. You might want to take a look at SQLAlchemy and SQLObject. They both already connect to all the DBs you mentioned and might save some work. http://www.sqlalchemy.org/ http://www.sqlobject.org/ -Larry |
From: jim-on-linux <in...@ve...> - 2007-02-19 19:32:20
|
On Monday 19 February 2007 00:09, Jack Andrews wrote: > hi, thanks for py2exe. > > i'm writing a database tool and i want to > connect to one or more databases. (oracle, > postgres, mysql to start with). > > not only this, but i want to connect to > different versions of the same database (eg. > oracle 10/9, mysql 5/4, ...) > > as a general rule, would you say that there > shouldn't be a problem if it 'works in python', > or what gotchas will there be for me? > > > jack Also, check Gadfly RDBM, the python code is available. http://gadfly.sourceforge.net/ jim-on-linux |