files module. The read example first writes a test file to /tmp/test-file, then reads it back.
Install the SDK, or the CLI for
ppio commands, and set the PPIO_API_KEY and PPIO_DOMAIN environment variables before running these examples. See Quickstart and Install and authenticate.Read a file
Callfiles.read() to read a file from the sandbox filesystem.
Write a single file
Callfiles.write() to write a single file to the sandbox filesystem.
Write multiple files
files.write() also writes several files in one call. Pass a list of path and data pairs.