[Tutor] Help with vars()
Steven Burr
sburr@mac.com
Sat, 11 Aug 2001 01:24:41 -0700
On Friday, August 10, 2001, at 03:18 AM, Charlie Clark wrote:
>> Ehe....I didn't know about the %(foo)[s|d|whatever] format string, all
>> this
>> time I was doing things like (for the example above):
>>
>> insert = "%s, %s, %s" % (articles['headline'], articles['text'],
>> articles['sternzeichen'])
>>
>> Now, I'm curious, is this a *BAD THING* to do ???
>
> http://starship.python.net/quick-ref1_52.html and search for vars() as
> it's
> not in the standard documentation
Au contraire!
http://www.python.org/doc/current/lib/built-in-funcs.html
i'm-not-a-polyglot-but-i-play-one-on-tv'ly yours, sburrious