matx.runtime.file module

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

基类: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[源代码]
has_nextline()[源代码]
readline()[源代码]