← 教程列表
news

Avoid assuming tools are installed

📅 2026/6/12 16:30:02⏱ 约 5 分钟阅读👁 8 阅读

Don't assume packages are available: ````markdown theme={null} **Bad example: Assumes installation**: "Use the pdf library to process the file." **Good example: Explicit about dependencies**: "Install required package: `pip install pypdf` Then use it: ```python from pypdf import PdfReader reader = PdfReader("file.pdf") ```" ````

← 返回教程列表 AI8899 · 内容仅供学习参考