Restructuring pyparsing parse results of multithreaded log file
问题 I have a log file of a multithreaded process which looks like this: <timestamp_in> <first_function_call_input> <thread:1> input_parameter_1: value input_parameter_2: value <timestamp_in> <another_function_call_input> <thread:2> input_parameters: values <timestamp_out> <another_function_call_output> <thread:2> output_parameters: values <timestamp_out> <first_function_call_output> <thread:1> output_parameters: values In my parse results variable I would like to have the input and output