Das writer Modul
- class gropro.gio.writer.IWriter[Quellcode]
Bases:
ABCAbstraktion für Ausgabe Operationen
- abstract write(content: list[str])[Quellcode]
- abstract writecheck() bool[Quellcode]
- class gropro.gio.writer.StreamWriter[Quellcode]
Bases:
IWriterWrites directly to stdout, may be piped or redirected in most shells.
- write(content: list[str])[Quellcode]
- writecheck() bool[Quellcode]
- class gropro.gio.writer.FileWriter(file: Path)[Quellcode]
Bases:
IWriterWrites to a specified file, relative and absolute paths are possible.
- write(content: list[str])[Quellcode]
Performs the actual filesystem operation, will throw any access error or similar
- writecheck() bool[Quellcode]