The Commands module

To get help on the Commands module , you can use the built-in Python functions dir() and help() .

SDS2 Python Prompt

>>> import Commands                             # import the module
>>>
>>> dir(Commands)                                  # do a dir() on the module name
['AvailableTools', 'CmdArgs', 'Command', 'CommandType', 'Group', 'GroupNode', 'Icon', 'IconSet', 'Licensing', 'Listing', 'OperationClass', 'RegisterCommand', 'Station', 'WidgetCommand', '__doc__', '__name__', '__package__']