diff --git a/src/tools/python/python.ts b/src/tools/python/python.ts index 9ffed22f..732f9154 100644 --- a/src/tools/python/python.ts +++ b/src/tools/python/python.ts @@ -59,8 +59,10 @@ export class PythonTool extends Tool { "Use matplotlib to plot charts.", "Use pillow (import PIL) to create and manipulate images.", "Use moviepy for complex manipulations with videos.", - "Use pikepdf to manipulate PDFs.", + "Use PyPDF2, pikepdf, or fitz to manipulate PDFs.", + "Use pdf2image to convert PDF to images.", "Other Python libraries are also available -- however, prefer using the ones above.", + "Prefer using qualified imports -- `import library; library.thing()` instead of `import thing from library`.", "Do not attempt to install libraries manually -- it will not work.", "Each invocation of Python runs in a completely fresh VM -- it will not remember anything from before.", "Do not use this tool multiple times in a row, always write the full code you want to run in a single invocation.",