Tlk

class pynwn.Tlk(io=None)

Loads a TLK file from a file handle.

__getitem__(i)

Get a TLK element. Tlk supports integer indices and Python slices. Please note that taking a huge slice say a reverse (tlk[::-1] can be a very costly.

__len__()

Determines the highest TLK entry.

__weakref__

list of weak references to the object (if defined)

add(text)

Adds TLK entry to the end of entry list.

inject(other)

Injects lines from one TLK into another.