I have the below information in a txt file which is of 300lines
5.2.7.1 timer value ($D125)
5.2.7.2 Power back information ($05B2)
5.2.7.3 Time Since power off ($05B4)
5.2.7.4 highspeed mode State ($0730)
I want the below information to be read and stored two different strings
For Example
str1 = timer value
str2 = D125
Need a PYTHON Script , compatible with PYTHON 2.7.5.