Count lines, characters, bytes, sentences, and words of a text file.
More...
|
def | wc (filename, prt=True) |
|
def | main (argv=None) |
|
Count lines, characters, bytes, sentences, and words of a text file.
- Author
- Paulo Roma
- Since
- 29/12/2008
- See also
- https://dzone.com/articles/count-lines-sentences-and
◆ main()
def _04b_wc.main |
( |
|
argv = None | ) |
|
◆ wc()
def _04b_wc.wc |
( |
|
filename, |
|
|
|
prt = True |
|
) |
| |
Counts lines, setences, and words of "filename".
"prt" controls the echoing of the lines on the screen.
Referenced by main().
◆ dashLen
int _04b_wc.dashLen = 100 |