core.file

Source code: core/file.seq

class core.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)
close()
class core.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)
core.file.open(path: str, mode: str = 'r')
core.file.gzopen(path: str, mode: str = 'r')
core.file.is_binary(path: str)