internal.file

Source code: internal/file.seq

class internal.file.File

Magic methods:

__init__(fp: cobj)
__init__(path: str, mode: str)
__enter__()
__exit__()
__iter__()

Methods:

readlines()
write(s: str)
write_gen[T](g: Generator[T])
read(sz: int)
tell()
seek(offset: int, whence: int)
flush()
close()
class internal.file.gzFile

Magic methods:

__init__(fp: cobj)
__init__(path: str, mode: str)
__iter__()
__enter__()
__exit__()

Methods:

close()
readlines()
write(s: str)
write_gen[T](g: Generator[T])
tell()
seek(offset: int, whence: int)
internal.file.open(path: str, mode: str = 'r')
internal.file.gzopen(path: str, mode: str = 'r')
internal.file.is_binary(path: str)