< Previous | Contents | Next >

Libraries

In contrast to Lua, Python comes with a complete standard library. As a quick overview, here is a list of important modules.

> os (os & file system access)

> shutil (file system access)

> glob (file system matching & listing)

> os.path (os independent path handling)

> sys (system access)

For a complete list refer to:

https://docs.python.org/2/library/ https://docs.python.org/3.3/library/

Additionally, you can install external libraries either manually or by the eco system accessible through pip or easyinstall. Some libraries that are useful with Fusion are:

> slpp (Lua data parser for python) https://github.com/SirAnthony/slpp

This library makes it easy to parse Lua tables, which most of the data in Fusion consists of.

> Pillow (Python Imaging Library Fork) Image manipulation framework

> Numpy

Mathematical framework