On Mon, Oct 20, 2008 at 11:28 PM, Jeff Forcier <[EMAIL PROTECTED]> wrote: > On Mon, Oct 20, 2008 at 5:21 PM, Christian Vest Hansen > <[EMAIL PROTECTED]> wrote: > >> If there are no values at command-line, then the call to partition >> will leave 'v' with the empty string, causing cmd_args[k] to be "". > > That's certainly true, but none of my examples were setting it up that > way, I was always using a 'full' key=value setup. You're right, > though, that the original question from Philip would translate most > directly into just passing the filenames as the "keys" (with empty > values) and thus you'd be wanting to iterate over the resulting > kwargs.keys() instead of kwargs.values() :) > > I gave the key=value examples because that was the most "complete" way > to explain how arguments work in general, since Philip seemed confused > as to what was possible with them. I should've also given the 'direct' > answer, though :)
In spite of my efforts to muddle thing up.. again.. I think the point has gotten across between our posts. :) > >> Also, I verified my writings before pressing send :o) > > Are you saying I didn't? :P Looks like I forget to verify that part :D In my eager, I overlooked you f1=path setup. > > -Jeff > -- Venlig hilsen / Kind regards, Christian Vest Hansen. _______________________________________________ Fab-user mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/fab-user
