The easiest way to get started with pyelftools is by examining the examples it comes with (in the examples/ directory of the source distribution). Examples are heavily commented, and each begins with ...
Although pyelftools is functional and very useful already, it still needs a lot of work. Some things are still missing (see the "Limitations" section in the user guide, and there are surely some bugs ...