Python_2  1.0
Functions | Variables
_04c_fs Namespace Reference

Count lines, characters, bytes, sentences, words, and paragraphs of a text file. More...

Functions

def fs (filename, prt=True)
 
def main (argv=None)
 

Variables

int dashLen = 100
 

Detailed Description

Count lines, characters, bytes, sentences, words, and paragraphs of a text file.

Author
Paulo Roma
Since
06/02/2012
See also
https://dzone.com/articles/count-lines-sentences-and

Function Documentation

◆ fs()

def _04c_fs.fs (   filename,
  prt = True 
)
Counts lines, setences, and words of "filename". 
   "prt" controls the echoing of the lines on the screen.

Referenced by main().

◆ main()

def _04c_fs.main (   argv = None)
 Main function 

References fs(), and Getch.getch.

Variable Documentation

◆ dashLen

int _04c_fs.dashLen = 100