Python tips from the trenches
Snippets and gotchas for cleaner, faster Python.
doing an apt-get update in ansible only if a condition is met
Ali-Akber Saifee
·
1 response
·
python, deployment, ansible
JSON.stringify() pretty printer
Doug Thomas
·
1 response
·
python, json, javascript
Python Web Crawling for Emails
Saul Costa
·
1 response
·
python, web, beginner, crawling
Custom table name in Django model
Michele Capra
·
0 responses
·
python, django, model
Running iPython cleanly inside a virtualenv
Hatem Nassrat
·
3 responses
·
python, virtualenv, ipython
Modifying XCode projects via command line
Ignacio Calderon
·
3 responses
·
python, xcode, command line
Use Python and PIL to slice an image vertically
Joshua Gourneau
·
0 responses
·
python, image, crop, pil
Change label on a field in Django admin
lorden
·
0 responses
·
python, django, django admin
How to setup local_settings.py for your Django 1.4.2 project
Glen
·
0 responses
·
python, django, git, local_settings
JSON exception handler for Flask
Rafael Calsaverini
·
1 response
·
python, flask, exception handling
Use Python to read file by N lines each time
Mikkkee
·
0 responses
·
python, file, textprocessing
Python WebSocket Server
Joshua Moore
·
0 responses
·
python, websocket, websockets, websocket-server
Seven Tips To Get Better At Writing Code
Vinit Kumar
·
15 responses
·
python, tips, coding, hacker
Python Decorators vs. Context Managers: Have your cake and eat it!
Manuel Ebert
·
2 responses
·
python, decorators, design pattern, context manager
Prime Numbers with Python
Nathan Lucas
·
1 response
·
python, math, algorithm, benchmark
Remove all .pyc files from a directory
Nahim Nasser
·
2 responses
·
python, django, unix, environment
Quickly add custom branding to django admin
Saurabh Kumar
·
0 responses
·
django, django-admin, frontend, python
Existing PostgreSQL ENUMs in Alembic
Iain Campbell
·
0 responses
·
python, sqlalchemy, postgresql, alembic
PIL/Pillow IOError: decoder jpeg not available
Thomas Schultz
·
2 responses
·
python, pil, pillow ioerror
Python: Remote debugging with pdb
Caio Ariede
·
3 responses
·
python, pdb
Modifying nullable columns in Alembic
Iain Campbell
·
0 responses
·
python, postgresql, alembic
Increase open files limit and drop privileges in Python
Simon Pantzare
·
0 responses
·
python, setgid, ulimit, subprocess
Share localhost with anyone
Lauren
·
17 responses
·
python, rails, osx, design
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#
Coderwall Dev Community
Explore the all-time favorite tutorials, design patterns and engineering guides that thousands of readers keep sharing and coming back to, year after year.
These proven techniques, reusable code samples, programming tips and vibe coding habits earned their place through steady views and member likes.
Each entry here is still useful today, covering programming languages, frameworks and workflows that stay relevant long after they were first published.
Whether you're new to a tech stack or an experienced engineer refreshing your skills, start with the most useful tips our dev community members recommend and build on solid, well-tested coding knowledge.