Is there a way to read from the file the number of lines it has?
I have a file that looks like this:
Product Y
Product Q
Product Quy
Product Tew
Product R32
Product Te4
I want to be able to read the file and and count the number of items. In this case it would be 6.
Does anyone know if this is possible?
I have a file that looks like this:
Product Y
Product Q
Product Quy
Product Tew
Product R32
Product Te4
I want to be able to read the file and and count the number of items. In this case it would be 6.
Does anyone know if this is possible?