finesse.script.containers.Addressable.script

Addressable.script(bounds=None)[source]

Get the script in the interval [start, stop) defined by bounds.

Lines between start and stop with no tokens are yielded as empty lines. Gaps between the columns spanned by tokens on the same line are yielded as spaces.

Parameters:
boundsKatBounds, optional

Bounds within which to retrieve script. Defaults to the whole script.

Returns:
str

The script.