line number of first and second occurance of string in a file - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: line number of first and second occurance of string in a file (/thread-22564.html) |
line number of first and second occurance of string in a file - mdalireza - Nov-18-2019 Hello, Here is the logic I am trying to code. * I have a line number of a certain string in a file. I want to get the line number of second occurrence of that string in a file. Please help me to write the code. RE: line number of first and second occurance of string in a file - perfringo - Nov-18-2019 Help is to give assistance or support. Write a code and there will be assistance or support. With no code nothing to give assistance or support to. |