def parse_bootstrap_support(lines):
 bootstraps = {}
 for line in lines:
  if (line[0] == '#'):
   continue
  wordlist = line.strip().split()
  bootstraps[wordlist[0]] = float(wordlist[1])
 return bootstraps

def parse_bootstrap_support ( lines ) : bootstraps = { } for line in lines : if ( line [ 0 ] == '#' ) : continue wordlist = line . strip ( ) . split ( ) bootstraps [ wordlist [ 0 ] ] = float ( wordlist [ 1 ] ) return bootstraps
parser for a bootstrap/jackknife support in tab delimited text .