Hi,
I am trying to use python for file processing.
Suppose I have a file like this:
I want to build a Hashmap between the line "begin_QOS_statistics" and
"end_QOS_statistics"
and for each line I want to put the first text as the key of the hash
table and the second text as the value.
Received RTCP "BYE" on "audio/MPA" subsession (after 89 seconds)
Received RTCP "BYE" on "video/MP4V-ES" subsession (after 89 seconds)
begin_QOS_statistics
server_availability 100
stream_availability 100
subsession video/MP4V-ES
num_packets_received 3529
num_packets_lost 0
elapsed_measurement_time 82.302305
kBytes_received_total 3756.422000
measurement_sampling_interval_ms 100
kbits_per_second_min 0.000000
kbits_per_second_ave 365.134075
kbits_per_second_max 2634.760139
packet_loss_percentage_min 0.000000
packet_loss_percentage_ave 0.000000
packet_loss_percentage_max 0.000000
inter_packet_gap_ms_min 2147483.647000
inter_packet_gap_ms_ave 0.000000
inter_packet_gap_ms_max 0.000000
subsession audio/MPA
num_packets_received 1414
num_packets_lost 0
elapsed_measurement_time 82.302305
kBytes_received_total 1187.644000
measurement_sampling_interval_ms 100
kbits_per_second_min 0.000000
kbits_per_second_ave 115.442113
kbits_per_second_max 1132.007640
packet_loss_percentage_min 0.000000
packet_loss_percentage_ave 0.000000
packet_loss_percentage_max 0.000000
inter_packet_gap_ms_min 0.022000
inter_packet_gap_ms_ave 52.214517
inter_packet_gap_ms_max 140.955000
end_QOS_statistics