Re: Strange location for a comma

2015-09-03 Thread Martin Komoň
In this case those are not tuples but rather arguments in a function call. The extra comma does not change the evaluation, my guess is that it is there for easier adding/removing arguments without having to care about trailing commas. Martin On 03/09/15 14:28, ast wrote: > > "ast" a écrit dans

Re: Convert DDL to ORM

2011-10-24 Thread Martin Komoň
Hi, for the project I'm working on right now I've written a simple "SQL create script to ORM generator". I use SQLalchemy as well and this generator takes all tables and prepares classes, maps them to tables, introspects them and creates explicit attribute definitions in the classes. Contact me of

Re: Python as a replacement to PL/SQL

2011-10-24 Thread Martin Komoň
PostgreSQL supports PL/SQL, PL/TCL, PL/Python, PL/Perl and I've also seen PL/Java add on module. Martin On 10/24/2011 4:59 PM, Alec Taylor wrote: > Hmm... > > What else is there besides PL/Python (for any DB) in the context of > writing stored procedures in function? > > Thanks for all suggesti

Re: Help with regular expression in python

2011-08-18 Thread Martin Komoň
You don't seem to account for the whitespace between the floats. Try > '([-+]?(\d+(\.\d*)?|\.\d+)([eE][-+]?\d+)?\s+){32}' (just added \s+). Martin On 8/18/2011 9:49 PM, Matt Funk wrote: > Hi, > i am sorry if this doesn't quite match the subject of the list. If someone > takes offense please poin