tail
Marco Sulla
Marco.Sulla.Python at gmail.com
Thu May 12 13:48:49 EDT 2022
On Thu, 12 May 2022 at 00:50, Stefan Ram <ram at zedat.fu-berlin.de> wrote:
>
> Marco Sulla <Marco.Sulla.Python at gmail.com> writes:
> >def tail(filepath, n=10, chunk_size=100):
> > if (n <= 0):
> > raise ValueError(_err_n)
> ...
>
> There's no spec/doc, so one can't even test it.
Excuse me, you're very right.
"""
A function that "tails" the file. If you don't know what that means,
google "man tail"
filepath: the file path of the file to be "tailed"
n: the numbers of lines "tailed"
chunk_size: oh don't care, use it as is
"""
More information about the Python-list
mailing list