iterating multiple families

Thanks for the sympathy on the Python documentation, particularly http://docs.python.org/lib/typeiter.html - it’s a bit of a circular explanation.

Your example shows a good way to list all attributes of a single instance, but how about listing all instances of an object?
How would you modify this example to list all of the instances (the families), such as “Nuzum, Jones, Smith, [etc.]”?
Thanks!
Matt (b)

Reply

The content of this field is kept private and will not be shown publicly.
  • You can use Markdown syntax to format and style the text.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
11 + 3 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

Back to top