Section » sections

sections(name) → list

Retrieve subsections with the specified name from this current section.

eno# Article
> ...

# Article
> ...
python>>> document = enopy.parse(input)
>>> sections = document.sections('Article')
>>> for section in sections:
...  # do something with each Article

Parameters

name

A string specifying the name of the sections to retrieve.

Return value

A list of Sections.