rqt_py_common.ini_helper module

rqt_py_common.ini_helper.is_string(s)

Check if the argument is a string which works for both Python 2 and 3.

rqt_py_common.ini_helper.pack(data)

Packs ‘data’ into a form that can be easily and readably written to an ini file.

Parameters:

data – A list of strings or a list of items with a ‘text’ method to be flattened into a string ‘’list’’

Returns:

A string suitable for output to ini files ‘’str’’

rqt_py_common.ini_helper.unpack(data)

Unpacks the values read from an ini file.

Parameters:

data – An entry taken from an ini file ‘’list or string’’

Returns:

A list of strings ‘’list’’