Thanks for the reply it is helpful.
The file I am running through can have a couple hundred lines with numbers or times in it, should I still use the lineList with a file that large?
User Profile
Collapse
-
-
How can a program check if several numbers are in the same line?
using Python 2.6.1 on windows vista.
I would like this search to check if all the numbers or words are in the line and add to the count if all are in the line. But if any one is not, go to the next line and do not add to count.
It looks like the and would be perfect for this although I have a varying user input so I don’t know how I would use it if I don’t know how many are entered ahead of time or if I can use...
No activity results to display
Show More
Leave a comment: