The simplest approach, for reasonably sized files, is to read the file as a list of lines so that the count of lines is the length of the list.
確定! 回上一頁