I am both new to this forum & programming & Python. I am trying to develop my first program, however I keep coming up against a brick wall regarding one particular issue. I am hopng that some kind sole can put me out of my misery & show me how to do what I want to do correctly. I'm sure it's simple if you know what you are doing, but at the moment I am stupid & do not have a clue what I'm doing :-)
Example:
I need to work with 2 files, A & B
File A contains the text:
This is a test
While file B contains the text:
h
t
s
i
a
I need to create a program that will grab 1 character at a time from file A and then search through file B looking for an identical character. Once the program has found a match, I want it to print the row number where it found the match, then move on grab another character from file A & repeat this process until EOF.