diff --git a/website/docs/tutorial/code-executors.ipynb b/website/docs/tutorial/code-executors.ipynb index 6a8d4398751..53ee0a9cd5f 100644 --- a/website/docs/tutorial/code-executors.ipynb +++ b/website/docs/tutorial/code-executors.ipynb @@ -198,7 +198,7 @@ "source": [ "import os\n", "\n", - "print(os.listdir(temp_dir))\n", + "print(os.listdir(temp_dir.name))\n", "# We can see the output scatter.png and the code file generated by the agent." ] },