I'm a newbie to Python and after much googling to no avail I wanted to see if I could get some help here. I'm trying to come up with a script to take lines from a textfile and insert them into specific places in another file. Here's a simple example:
I want to take lines from here:
and end up with something like this:
Name of fruit: apples
Name of fruit: oranges
Name of fruit: bananas
Can anyone help or point me in the right direction? Thanks in advance!