Hi everyone!
I'm writing a simple Python parser, where I loop over each line in a file, and prosess it further if the right conditions are met. My short start:
def identify(hh_line):
if(re.match(regex.new_round, hh_line)):
m = re.match(regex.new_round, hh_line)
# insert into psql
...
if(re.match...
..and I was wondering what's the best way (practice) to approach this task, since this is the first time I write Python.
Thanks! =)