Tail a file in Python
def tail( f, window=20 ): f.seek( 0, 2 ) bytes= f.tell() size= window block= -1 while size > 0 and bytes+block*1024 > 0: …
Username:
Password:
Remember me