Skip to content

Instantly share code, notes, and snippets.

@viglesiasce
Created May 15, 2013 08:12
Show Gist options
  • Save viglesiasce/5582396 to your computer and use it in GitHub Desktop.
Save viglesiasce/5582396 to your computer and use it in GitHub Desktop.
for line in output[2:]:
line = line.strip()
if line == "":
continue
domain_line = line.split()
for key in keys:
instance_list.append({keys[0]:domain_line[0], keys[1]:domain_line[1], keys[2]:domain_line[2]})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment