Counting Lines in a File Credit: Luther Blissett Problem You need to compute the ... count = 0 for line in open(thefilepath).xreadlines( ): count += 1.
確定! 回上一頁