internal.file

Source code: internal/file.seq

class internal.file.File

Magic methods:

__init__(fp: cobj)
__init__(path: str, mode: str)
__enter__()
__exit__()
__iter__()
__file_write_gen__[T](g: Generator[T])

Methods:

readlines()
write(s: str)
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__()
__file_write_gen__[T](g: Generator[T])

Methods:

close()
readlines()
write(s: str)
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)