[Tutor] argparse: how to use the returned Namespace object?
Mac Ryan
quasipedia at gmail.com
Fri Nov 5 10:44:43 CET 2010
On Fri, 2010-11-05 at 01:11 +0000, Walter Prins wrote:
> You need to distinguish between what __dict__ *is*, and what it
> *contains*. dir() does introspection, it inspects what an object in
> Python *is*, e.g. displays all the methods and attributes of the
> object. It does not however know anything about what (if anything)
> the object might contain, in the data storage sense. [...]
Thank you Walter, now I got it. :)
Mac.
More information about the Tutor
mailing list