Hi,
I want to convert lines in a text file from this:
animal cat, mouse, dog, horse
numbers 22,45,124,87
to this:
animal cat
animal mouse
animal dog
animal horse
numbers 22
numbers 45
numbers 124
numbers 87
How would I do this conversion in python?
Thanks