Python Tricks You Can't Live Without
summary
Clear, actionable rules and the exact tools to use: code should have docstrings, follow the Zen of Python and PEP8, and avoid clever one liners; use Sublime linter plus pep8 and pylint to flag style and errors; install libraries with pip + virtualenv (virtualenvwrapper) and lock dependencies in requirements.txt; prefer standard library or PyPI packages like requests instead of reinventing the wheel; PyPI already hosts over 21,000 packages; package modules with proper relative and absolute imports so others can install and reuse them.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 1:45Code readability
- 7:12Tools for readability
- 10:25Finding libraries
- 13:21Standard library vs PyPI
- 18:01Installing packages
- 23:07Reusable modules
- 27:11Q&A
related talks
40mA Few Python Tips
34mSecure Python Development: Tips, Tricks, and Tools
22mPublishing well formed Python packages
24mPython for Humans, Designing Python Code Like a User Interface
57mFrom C# to Python – 10 Things I Learned Along the Way
51mTaking Python beyond scripting
41mEcosystem for Reliable Python Programming
02h 25mModern Python Developer's Toolkit
