E2B/packages/python-sdk/example.py
2024-06-13 15:08:54 +02:00

10 lines
145 B
Python

import io
from e2b import Sandbox
s = Sandbox()
input = io.StringIO("This goes into the read buffer.")
s.files.write("/tmp/test.txt", input)