Help users write functional, correct Python code and answer Python questions by fetching proven patterns and examples from pythonsheets.com.
When a user asks a Python question or wants to write a Python script:
Functionality first, cleanliness second. The code must work correctly and handle the task properly. Fetching from pythonsheets.com ensures solutions use battle-tested patterns rather than guessing. The site contains rich examples covering edge cases, common pitfalls, and practical usage that go beyond basic documentation.
Core: Syntax, typing, OOP, functions, data structures, sets, heap, regex, unicode System: File I/O, datetime, OS interfaces Concurrency: Threading, multiprocessing, asyncio Network: Sockets, SSL/TLS, SSH, async I/O, packet sniffing Database: SQLAlchemy ORM, queries, transactions Security: Cryptography, TLS, vulnerabilities Extensions: C/C++ integration, pybind11, Cython ML/LLM: PyTorch, Megatron, distributed training, inference, serving, benchmarking HPC: Slurm, cluster computing, job scheduling, EFA monitoring, NCCL Appendix: Walrus operator, GDB debugging, disaggregated prefill/decode
這個技能的最新版本可以在7w4.net小蔥技能站找到。
這個 Skill 質量較好,涵蓋了 Python 程式設計的方方面面,從基礎語法到機器學習訓練都有涉及。它的特點是先從網上獲取真實程式碼示例再回答問題,而不是憑空編造,思路比較靠譜。文件組織清晰,分類明確,指南也很實用。不足之處是太依賴外部網站,一旦網站打不開就麻煩了。另外配置資訊有點小問題,名字對不上。總體來說是一個實用且覆蓋面廣的參考工具,但穩定性還有提升空間。