# -*- coding: utf-8 -*-
"""
Created on Mon Jun  5 18:30:08 2017

@author: Petruska
"""
import re
with open('tournament_history.txt','r') as f:
    for l in f:
        if 'Rate' in l:
            l.replace('%','')
            l.replace('.',',')
#            print (l, re.findall('(\d+\.\d)', l))
            numbers = re.findall('(\d+\.\d)', l)
            print (','.join(numbers))
            
    
16337441ec3960a1c1d4631308e45ffaca9b06ca
<mask token>

<mask token>
with open('tournament_history.txt', 'r') as f:
    for l in f:
        if 'Rate' in l:
            l.replace('%', '')
            l.replace('.', ',')
            numbers = re.findall('(\\d+\\.\\d)', l)
            print(','.join(numbers))

<mask token>
import re
with open('tournament_history.txt', 'r') as f:
    for l in f:
        if 'Rate' in l:
            l.replace('%', '')
            l.replace('.', ',')
            numbers = re.findall('(\\d+\\.\\d)', l)
            print(','.join(numbers))

# -*- coding: utf-8 -*-
"""
Created on Mon Jun  5 18:30:08 2017

@author: Petruska
"""
import re
with open('tournament_history.txt','r') as f:
    for l in f:
        if 'Rate' in l:
            l.replace('%','')
            l.replace('.',',')
#            print (l, re.findall('(\d+\.\d)', l))
            numbers = re.findall('(\d+\.\d)', l)
            print (','.join(numbers))
            
    