extracting keywords from %(keyword)s-based templates
Jeff Shannon
jeff at ccvcorp.com
Fri Aug 31 20:16:23 EDT 2001
Andrew Dalke wrote:
> Jeff Shannon wrote:
>
> > "Testing ... %(one) %(two) %(test)" % trap
> >ValueError: incomplete format
>
> Should be
> "Testing ... %(one)s %(two)d %(test)f" % trap
> ^^^ ^^^ ^^^
oh, hell. >smacks forehead< Guess I should pay more attention to what
I'm doing before I tell someone else they're wrong, eh? Makes me really
wish my socks tasted better, what with how often I'm ending up with them in
my mouth... <wink>
Jeff Shannon
Technician/Programmer
Credit International
More information about the Python-list
mailing list