Functions
rqt_py_common::ini_helper Namespace Reference

Functions

def is_string
def pack
def unpack

Function Documentation

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

Definition at line 68 of file ini_helper.py.

Packs 'data' into a form that can be easily and readably written to an ini file
:param data: A list of strings or a list of items with a 'text' method to be flattened into a string ''list''
:return: A string suitable for output to ini files ''str''

Definition at line 34 of file ini_helper.py.

Unpacks the values read from an ini file
:param data: An entry taken from an ini file ''list or string''
:return: A list of strings ''list''

Definition at line 55 of file ini_helper.py.



rqt_py_common
Author(s): Dorian Scholz, Isaac Saito
autogenerated on Sat Jun 8 2019 20:23:34