Ultima attività 1730822040

E2B-5.py Raw
1from e2b_code_interpreter import Sandbox
2
3with Sandbox() as sandbox:
4 sandbox.run_code("x = 1")
5 execution = sandbox.run_code("x+=1; x")
6 print(execution.text) # outputs 2