c# .net Adsense ADO.NET Linq Viruses/security asp.net MVC JQuery Angular-js Node-js SEO Java C++ SQL API Networking vb.net .Net Css JavaScript Generics c#.Net entity framework HTML Website host Website Construction Guide HTTP tutorial W3C tutorial Web Services JSON Psychology Ionic framework Angular ReactJS Python Computer Android
Python

Python read file line count

| | python
In this tutorial I will show you how to count the lines of the file in python. You can call the
readlines function interface to find the count.
CODE:
count= len (open ( r"vgsales.csv", 'rb').readlines())
print (count)
OUTPUT:
read file line count python