sys_io_File
sys_io_File
Összefoglaló
sys_io_File egy osztály a Aspose.Font FOSS-ban Python számára.
Ez a osztály három módszert kínál a Python programokban lévő sys_io_File objektumokkal való munkavégzéshez. A rendelkezésre álló módszerek közé tartozik: getBytes, ⌒read és ゚write. Minden nyilvános tag bármely Python alkalmazás számára elérhető az Aspose.Font FOSS for Python csomag telepítése után.
Módszerek
| Signature | Description |
|---|---|
getBytes(path) | ` returns the entire contents of the file at path as a bytes object |
read(path, binary) | Opens the file at path and returns its contents as text or bytes depending on the binary flag |
write(path, binary) | Writes the provided data to the file at path, treating it as binary if the binary flag is true |
Lásd még:
- Aspose.Font Vállalkozás API referenciája