events.resource module

Provides a way to create resource (.res) files using custom events.

classevents.resource.ResourceFile(filepath,*events)[source]

Bases:OrderedDict

Class used to write and load custom event .res files.

__init__(filepath,*events)[source]

Called on instatiation.

load_events()[source]

Load events from the .res file.

write()[source]

Write the .res file to disk.

propertyfilepath

Return the path to the .res file.

propertyfullpath

Return the full path of the .res file.