On Nov 30, Joachim Selke <[EMAIL PROTECTED]> wrote: > Since changing the code for formatting the CSV output should be quite > easy if necessary, I think it is best to use an iterative approach.
Thanks for the links and the hints. In the CVS there's something that a casual observer would define something in between "experimental" and "totally demented". :-) Most of the new code contains 'csv' somewhere in the name, so search for it. Actually it adds a '-c' command line option, that must be followed by a writable directory where csv files will be stored. The usual "-d /directory/of/the/plain/text/data/file -u URL" arguments are still required. It still doesn't feed the csv files to the database, but it's planned for the near furure. :-) As said, the -u parameter is still needed: on one side it could be feasible to build the csv files without a connection to a database (actually the connection is not initiated at all!), but after all at some point you should pass the CSV files to a database, and without imdbpy2sql.py you'll end up with a database without the correct tables/columns and indexes. So... I suppose we can go on requiring a database connection, if there are no valid reasons to do otherwise. And, to tell the truth, in this respect I've completely done wrong the current implementation, but I hope to fix it soon. :-/ PS: so far a lot of custom options are hard-coded, but later will be added command line options to set: delimeter, quote, escape and NULL replacement. -- Davide Alberani <[EMAIL PROTECTED]> [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Imdbpy-devel mailing list Imdbpy-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-devel