Tuesday, November 26, 2019

PyCoder’s Weekly: Issue #396 (Nov. 26, 2019)

#396 – NOVEMBER 26, 2019
View in Browser »

The PyCoder’s Weekly Logo


PyCon 2020 Registration Is Now Open

PyCon is the largest annual gathering for the community that uses and develops the open-source Python programming language. April 15–23 in Pittsburgh. Pro-tip: Get your early bird tickets today.
PYCON.ORG

Python KeyError Exceptions and How to Handle Them

KeyError exceptions are often caused by a bad key lookup in a dictionary, but there are a few other situations when a KeyError can be raised as well. Knowing how to handle these exceptions is essential to writing good Python code.
REAL PYTHON video

Automate & Standardize Code Reviews For Python

alt

Take the hassle out of code reviews - Codacy flags errors automatically, directly from your Git workflow. Customize standards on coverage, duplication, complexity & style violations. Use in the cloud or on your servers for 30 different languages. Get started for free →
CODACY sponsor

Pragmatic Unicode (2012)

Timeless tutorial that teaches the basics of Unicode, and how both Python 2 and Python 3 work, as well as some key tips on solving Unicode problems.
NED BATCHELDER

Guido van Rossum on How Python Makes Thinking in Code Easier

A conversation with the creator of the world’s most popular programming language on removing brain friction for better work.
DROPBOX.COM

What’s New in Python 3.9a1

The first draft changelog for Python 3.9 alpha 1 is out, if you want to stay on top of the latest CPython developments.
PYTHON.ORG

Raise Better Exceptions in Python

How to include contextual information in your exceptions for easier root cause analysis.
MOSHE ZADKA

Testing Django Migrations

A web app outage post-mortem with useful tips and tools for testing Django migrations.
NIKITA SOBOLEV

Python Jobs

Senior Python Engineer (Munich, Germany)

Stylight GmbH

Senior Python/Django Developer (Eindhoven, Netherlands)

Sendcloud

Django Full Stack Web Developer (Austin, TX)

Zeitcode

More Python Jobs >>>

Articles & Tutorials

Python Community Interview With Brian Okken

Brian Okken is perhaps best known as the author of Python Testing with pytest, as well as being the host of two Python-related podcasts. Find out more about the man behind the voice, his new meetup in Portland, and the advice he’d like to give to anyone who’s new to testing software.
REAL PYTHON

Issues With Python 3 byte/str Separation

The original title of the article is The Incredible Disaster of Python 3 so this was probably written with some frustration still fresh on someone’s mind. Nevertheless I think it’s important to look at aspects of Python that developers might be struggling with and that could be improved. Related discussion on Hacker News.
JOHN GOERZEN opinion

Python 2 EOL: Are You Prepared? Take ActiveState’s Survey For a Chance to Win a Drone

alt

Python 2 End of Life is coming soon. Take ActiveState’s 5-minute survey to let them know how you’re preparing for the change. You’ll get the final results, plus the chance to win a camera drone. Take the Survey →
ACTIVESTATE sponsor

Invalid Syntax in Python: Common Reasons for SyntaxError

In this step-by-step tutorial, you’ll see common examples of invalid syntax in Python and learn how to resolve the issue. If you’ve ever received a SyntaxError when trying to run your Python code, then this is the guide for you.
REAL PYTHON

Teaching Python Episode 33: Interview With Eric Matthes

Kelly and Sean interview Eric Matthes, author of Python Crash Course, about how he began programming, what led him to teaching, and the important lessons from Python to be learned both inside and outside of the classroom.
TEACHINGPYTHON.FM podcast

Detecting “Thinking Intensity” in the Human Brain, With Python

How to get started with fNIRS sensing data specifically oxygenated hemoglobin “HbO2/HbO” data for analyzing a data stream from a sensor.
JOHN DAVID CHIBUK

Measure and Improve Python Code Performance With Blackfire.io

Profile in development, test/staging, and production, with no overhead for end users! Blackfire supports any Python version from 2.7.x and 3.x. Find bottlenecks in wall-time, I/O, CPU, memory, HTTP requests, and SQL queries.
BLACKFIRE sponsor

Counting FLOPS and Other CPU Counters in Python

How the python-papi package can be used to measure the FLOP requirements of any section of a Python program.
BOJAN NIKOLIC

Projects & Code

Events

PythonRio Meetup

November 30, 2019
PYTHON.ORG.BR


Happy Pythoning!
This was PyCoder’s Weekly Issue #396.
View in Browser »

alt

[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]



from Planet Python
via read more

No comments:

Post a Comment

TestDriven.io: Working with Static and Media Files in Django

This article looks at how to work with static and media files in a Django project, locally and in production. from Planet Python via read...