contents adding values to module error handling reference counting threads embedding the python interpreter an embedding template compilation and linking basic interpreter operation and setup accessing python from converting python objects to ctypes loading shared libraries foreign functions datatypes calling foreign functions alternative type construction methods utility functions example advanced extending and embedding jython and ironpython appendix python who should be using python new language features source code encoding and identifiers set literals set and dictionary comprehensions extended iterable unpacking nonlocal variables function annotations keyword-only arguments ellipsis as an expression chained exceptions improved super( advanced metaclasses common pitfalls text versus bytes new / system lib fl ff