Is there an easier way of creating a dictionary on Python from a .txt file than this:
for y in open('bones.txt'):
bones={','.join(y:'0')}
where bones.txt
contains:
Ankylosaurus
Pachycephalosaurus
Ankylosaurus
Tyrannosaurus Rex
Ankylosaurus
Struthiomimus
Struthiomimus