Skip to content

Commit 93aece0

Browse files
authored
Update README.md
1 parent bf2bb17 commit 93aece0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

template/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ If you want to customize the Code Interprerter sandbox (e.g.: add a preinstlled
2424
from e2b_code_interpreter import CodeInterpreter
2525
sandbox = CodeInterpreter("your-custom-sandbox-name")
2626
execution = sandbox.notebook.exec_cell("print('hello')")
27+
sandbox.close()
2728

2829
# Or you can use `with`
2930
with CodeInterpreter("your-custom-sandbox-name") as sandbox:
@@ -36,4 +37,5 @@ If you want to customize the Code Interprerter sandbox (e.g.: add a preinstlled
3637
import { CodeInterpreter } from '@e2b/code-interpreter'
3738
const sandbox = await CodeInterpreter.create('your-custom-sandbox-name')
3839
const execution = await sandbox.notebook.execCell('print("hello")')
40+
await sandbox.close()
3941
```

0 commit comments

Comments
 (0)