Ask for Forgiveness or Look Before You Leap?
Compares the 'Ask for Forgiveness' (EAFP) and 'Look Before You Leap' (LBYL) coding philosophies, using Python file reading as an example.
Compares the 'Ask for Forgiveness' (EAFP) and 'Look Before You Leap' (LBYL) coding philosophies, using Python file reading as an example.
A series exploring techniques to write faster Python code, covering idiomatic patterns, performance tools, and benchmarking.
A guide to cleaning and processing messy CSV data using Python's Pandas library, including reading files and assigning custom headers.
A tutorial on writing a simple Python-to-C compiler in Python, using libpython to compile and run a Fibonacci program.
A developer builds a school year calendar feature in Django, adding break day models, methods, and tests.
A guide to making Django projects portable and easy to share across different machines using Git and dependency management.
A developer shares their experience and lessons learned from giving a technical talk at the online EuroPython 2020 conference.
A technical guide on setting up and analyzing distributed Dask clusters for parallel computing across multiple machines.
A talk on implementing full-text search using only Django and PostgreSQL, presented at EuroPython 2020.
A guide to creating an IPython extension to improve the %rerun magic command by handling exceptions during command replay.
A technical guide explaining the JPEG compression algorithm and demonstrating how to write a basic JPEG decoder from scratch using Python.
A tutorial on automating GitHub profile README updates using Python and GitHub Actions to display recent blog posts.
A developer builds a student enrollment form using Python and Django, focusing on context data, Tailwind CSS styling, and unit testing.
A practical guide to graph theory, using Breadth-First Search (BFS) to find the shortest path between countries based on border crossings.
A guide to setting up a Python project with automated testing, linting, and type-checking to improve code quality and team collaboration.
A guide to setting up cost-effective, on-demand load testing using Locust and Heroku for web applications.
A developer builds a mobile web app for a homelessness-focused hackathon using Python and Django, covering models, admin, and pages.
A design document outlining the separation of the data layer in QuTiP for a Google Summer of Code project, focusing on abstract interfaces and implementation strategies.
A developer shares 9 practical tips for improving your Bash and Python scripting workflow, based on real-world experience.
Benchmark analysis shows async Python web frameworks often have worse throughput and higher latency variance than synchronous alternatives under realistic conditions.