PyTricks
Collection of less popular features and tricks for the Python programming language
Install / Use
/learn @brennerm/PyTricksREADME
Intention
Creating a knowledge base of unpopular Python built-in features to save a lot of unnecessary code.
Contribute
Feel free to use the PyTrickBase.txt as a starting point.
-
Pull request:
Send a pull request with your PyTrick, containing example code and a documentation one-liner. Be sure to add yourself to the contributors.
-
Issue comment:
Add your Python snippet and your documentation as a comment on Issue#1. I will take care of adding your PyTrick and you as a contributor.
Requirements
- only use the standard Python library
- compared to the "general approach":
- improve readability
- improve performance
- implement functionality in a shorter way
Contact
- message me at @__brennerm
- send an email to xam.rennerb@gmail.com
Related Skills
node-connect
343.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
92.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
