From IFWiki

Python is a general purpose programming language used for a wide variety of purposes.

There are a couple of libraries created to help facilitate writing interactive fiction using the Python programming language:

  • PyF, an interactive fiction library for Python that uses XML for room and object descriptions.