matx.runtime.file module

class matx.runtime.file.File(path, mode='r', encoding='utf-8')[source]

Bases: Object

A simple file class, which only supports reading by lines now.

File(path, mode, encoding) -> similar to builtins.open

__init__(path, mode='r', encoding='utf-8') None[source]
has_nextline()[source]
readline()[source]