Issue #361

Python Threading, CPython 3.7.3 Is Out, Django Tips, and More

March 26, 2019

Python Threading, CPython 3.7.3 Is Out, Django Tips, and More
#361 – MARCH 26, 2019 VIEW IN BROWSER
The PyCoder’s Weekly Logo
An Intro to Threading in Python
In this intermediate-level tutorial, you’ll learn how to use threading in your Python programs. You’ll see how to create threads, how to coordinate and synchronize them, and how to handle common problems that arise in threading.
REAL PYTHON

Is Python Pass-By-Reference or Pass-By-Value? (2014)
A great explanation of Python’s argument-passing semantics.
ROBERT HEATON

Find a Python Job Through Vettery
Vettery specializes in developer roles and is completely free for job seekers. Interested? Submit your profile, and if accepted, you can receive interview requests directly from top companies seeking Python devs. Get started →
VETTERYsponsor

Changing a Feature Without Breaking Legacy Code
Step by step post about how the author used Python’s decorator feature to change a piece of user facing functionality without breaking existing user code that uses it.
KSHITIJ CHAWLA

Deconstructing xkcd #1987 (Python Environments)
Brett breaks down the famous Python-related xkcd #1987 comic in an attempt to try an de-mystify what has happened to the artist’s laptop. Fun read!
BRETT CANNON

Intro to Object-Oriented Programming (OOP) in Python
Learn the fundamentals of object-oriented programming (OOP) in Python and how to work with classes, objects, and constructors.
REAL PYTHON video

Why Is Calculating the Mean of a List of Floats So Hard?
DAVID R. MACIVER

CPython 3.7.3 Is Now Available
Read the changelog here.
PYTHONINSIDER.BLOGSPOT.COM


Discussions


When You Try to Choose a Meaningful Variable Name…
TWITTER.COM/REALPYTHON

What Is Your Job Title and How Do You Use Python in Your Job?
REDDIT


Python Jobs


Machine Learning and Data Science Developer
PROTECTION ENGINEERING CONSULTANTS LLC 📍 AUSTIN, TX

Lead Software Developer
KOGNITIV 📍 TORONTO, CANADA

Python Software Engineer
WOOGA 📍 BERLIN, GERMANY

More Python Jobs >>>


Articles & Tutorials


How to Turn Django Admin Into a Lightweight Dashboard
How to turn Django Admin into a lightweight dashboard by adding a chart and a summary table. Recommended reading for Django Admin hackers :)
HAKI BENITA

Django Migrations 101
Get comfortable with Django migrations and learn how to create database tables without writing any SQL, how to automatically modify your database after you changed your models, and how to revert changes made to your database.
REAL PYTHON video

Python Opportunities Come to You on Indeed Prime
Indeed prime is a hiring platform exclusively for tech talent like you. If you’re accepted, we’ll match you with companies and roles that line up with your skills, career goals and salary expectations. Apply for free today.
INDEEDsponsor

Async/Await for wxPython
How to use async/await in wxPython with the wxasync library.
ANDY BULKA • Shared by Andy Bulka

Using Ephemeral Python Docker Containers as CLI Applications
How to use Docker containers to sandbox the complex inner workings of a Python command-line (CLI) application.
PRESLAV RACHEV

Multi-Stage Docker Builds for Python: Virtualenv, --user, and Other Methods
Learn the basics of Docker multi-stage builds for Python apps.
ITAMAR TURNER-TRAURING

Python for Reverse Engineering 1: ELF Binaries
“Building your own disassembly tooling for fun and profit.”
ICYPHOX.SH

Monolith vs Microservices: A Tale From Python at “Scale”
Going from monoliths to microservices, and back?
JAMES LIM

Python’s “else” Clause for Loops
With for and while loops in Python, the else clause is executed if the loop reached its natural end without encountering a break statement.
REUVEN LERNER


Projects & Code


PyPy v7.1 Released
The biggest change is that PyPy now uses utf-8 internally for unicode strings.
PYPY STATUS BLOG

pyright: Static Type Checker for Python
Microsoft launched a static type checker for Python, written in TypeScript. They claim that “Pyright is typically 5x or more faster than mypy and other type checkers that are written in Python.”
GITHUB.COM/MICROSOFT

lark: Modern Parsing Library for Python
GITHUB.COM/LARK-PARSER

pywol: Wake-On-Lan Tool Written in Python
GITHUB.COM/ERBERLIN

iTerm2 Gets a Python API
iTerm 2 is a fantastic terminal emulator for macOS. And now it has a spiffy new Python API.
ITERM2.COM

d6tflow: Library for Building Highly Effective Data Science Workflows
GITHUB.COM/D6T

juniper: CLI for Packaging Lambda Functions
GITHUB.COM/EABGLOBAL • Shared by Pedro Diaz (PythonistaCafe

📆🐍 Upcoming Python Events


PuPPy Annual Benefit: Discussion About the Past and Future of Language Design
A historic discussion of language creators about the past and future of language design. Great lineup of guests, including Guido.

DjangoCon US 2019 Returns to San Diego
The DjangoCon US 2019 conference will return to San Diego, California, from September 22-27, 2019.

PyWeek 27
March 24 to April 1, 2019

PythOnRio Meetup
March 30, 2019

PyDelhi User Group Meetup
March 30, 2019

Melbourne Python Users Group, Australia
April 1, 2019

Dominican Republic Python User Group
April 2, 2019

Moscow Python Conf++ 2019
April 5 to April 6, 2019
Happy Pythoning!
Copyright © 2019 PyCoder’s Weekly, All rights reserved.