Ask a question to get started
Enter to send•Shift+Enter new line
Write content to a file in the sandbox.
write( self, path: str, content: Union[str, bytes], *, timeout: int = 60 ) -> None
path
str
Target file path in the sandbox.
content
Union[str, bytes]
File content (str or bytes).
timeout
int
60
Request timeout in seconds.