mirror of
https://github.com/langchain-ai/langchain.git
synced 2026-10-06 01:45:27 +03:00
1.8 KiB
1.8 KiB
In [1]:
from langchain.utilities import PythonREPLIn [2]:
python_repl = PythonREPL()In [3]:
python_repl.run("print(1+1)")Out [3]:
'2\n'
In [ ]: