Das writer Modul

class gropro.gio.writer.IWriter[Quellcode]

Bases: ABC

Abstraktion für Ausgabe Operationen

abstract write(content: list[str])[Quellcode]
abstract writecheck() bool[Quellcode]
class gropro.gio.writer.StreamWriter[Quellcode]

Bases: IWriter

Writes 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: IWriter

Writes 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]