Count lines, characters, bytes, sentences, words, and paragraphs of a text file.
More...
|
def | fs (filename, prt=True) |
|
def | main (argv=None) |
|
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
◆ 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 | ) |
|
◆ dashLen
int _04c_fs.dashLen = 100 |