def get_strings(args):
    string_list = []
    for elem in ast.walk(ast.parse(args)):
        if isinstance(elem, ast.Str):
            string_list.append(elem.s)
    return string_list
Returns all valid python strings inside a given argument string.
dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/pypetlogging.py/get_strings