Re: [SQLObject] Re: Postgres: DROP table CASCADE
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Sidnei da S. <si...@aw...> - 2004-11-30 11:28:17
|
On Mon, Nov 29, 2004 at 09:47:37PM +0300, Oleg Broytmann wrote: | On Mon, Nov 29, 2004 at 12:31:31PM -0600, Ian Bicking wrote: | > python test.py -dpostgres | > it's not very flexible with its command-line arguments. | | I've made it much more flexible using getopt. Please look at main() at | | http://svn.colorstudy.com/home/phd/SQLObject/inheritance/tests/test_sqlobject.py | | PS. I renamed test.py to test_sqlobject.py to import from it. What's wrong with optparse? Do we still need to support Python 2.2? -- Sidnei da Silva <si...@aw...> http://awkly.org - dreamcatching :: making your dreams come true http://www.enfoldsystems.com http://plone.org/about/team#dreamcatcher The meta-Turing test counts a thing as intelligent if it seeks to devise and apply Turing tests to objects of its own creation. -- Lew Mammel, Jr. |