sys_io_File
sys_io_File
General
sys_io_File és una classe en Aspose.Font FOSS per a Python.
Aquesta classe proporciona 3 mètodes per treballar amb objectes sys_io_File en programes de Python. Els mètods disponibles inclouen: getBytes, ⌒read , ゚write . Tots els membres públics són accessibles a qualsevol aplicació de python després d’instal·lar el paquet Aspose.Font FOSS for Python .
Mètodes
| 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 |
Vegeu també
- Aspose.Font Referència API d’empresa