← 教程列表
coding

Avoid Windows-style paths

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

Always use forward slashes in file paths, even on Windows: * ✓ **Good**: `scripts/helper.py`, `reference/guide.md` * ✗ **Avoid**: `scripts\helper.py`, `reference\guide.md` Unix-style paths work across all platforms, while Windows-style paths cause errors on Unix systems.

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