Python Python Manual Electronic Accessory User Manual


 
3
Table of Contents
Table of Contents........................... 3
Manual Overview ..........................7
Python Modules ............................. 9
Module Descriptions .......................10
Installation and Setup......................10
Additional Information....................11
Logging Facility...........................13
Logging a Message .........................13
Specifying a Log File......................14
Specifying a Log Channel...............16
Logging Python Exceptions ............ 16
Exceptions in a Callback.................17
Program Setup..............................19
Configuration Database...................19
Configuration File ...........................20
Naming Hierarchies ........................21
Environment Variables....................21
Unique Identifiers............................22
Process Identity............................... 23
Event Framework......................... 25
Scheduling a Job .............................25
Real Time Events ............................ 28
Destroying Agents...........................29
Alarms and Timers.......................... 29
Recurring Actions ...........................30
Socket Events..................................31
Program Signals .............................. 32
Program Shutdown.......................... 33
Service Agents ............................. 37
Service Naming............................... 38
Service Audience ............................ 39
Anonymous Service ........................ 39
Service Groups................................ 40
Service Registry ..............................40
Service Announcements.................. 43
Group Announcements....................44