Issue #348

CPython 3.7.2 / 3.6.8 Released, How to Write Beautiful Python, and More

Dec. 25, 2018

CPython 3.7.2 / 3.6.8 Released, How to Write Beautiful Python, and More
#348 – DECEMBER 25, 2018 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Python 3.7.2 and 3.6.8 Are Now Available
No major changes—full changelogs here (3.7.2) and here (3.6.8). Also, Python 3.6.8 is planned to be the last bugfix release of Python 3.6.
PYTHON.ORG

How to Write Beautiful Python Code With PEP 8
On writing high-quality, readable code by using the Python style guidelines laid out in PEP 8. Following these guidelines will help you make a great impression when sharing your work with potential employers and collaborators.
REAL PYTHON

Create User Interfaces With Python
Learn how to create gorgeous user interfaces and data visualizations with Qt for Python in this free hands-on webinar. Also included are free examples of ready-made 2D/3D data visualizations, controls, charts, and more to get you started. Code along →
QT COMPANYsponsor

Python Gets a New Governance Model
Great coverage of the governance changes coming to CPython after Guido stepped down as the BDFL this year.
JAKE EDGE

A Thing I Learned About Python Recursion
CPython has a limit on how large its stack can grow, 1000 frames by default. If you recur more than that, a RecursionError will be raised.
NED BATCHELDER

Python 3: Ten Years Later
This is a summary of Victor’s FOSDEM 2018 talk in February. Interesting analysis of the transition and a history of Python’s evolution. Slide deck and video recording included at the link.
VICTOR STINNER

What, No Python in RHEL 8 Beta?
Red Hat Linux now requires you to specify whether you want Python 3 or Python 2 (legacy Python) to be the system version of Python. Personally, I wish they would’ve just used Python 3 as the default because of the looming end of support date for legacy Python.
REDHAT.COM

Advent of Code 2018 Solutions
Python solutions to the Advent of Code daily coding puzzles. Thanks Michael!
MICHAEL FOGLEMAN


Discussions


Python + Woodworking = Success
“My 15 year old daughter made a Christmas present for her older brother. He is a programmer.”
REDDIT

F-Strings Are Surprisingly Fast
RAYMOND HETTINGER

What Would You Consider the Python Basics/Fundamentals?
REDDIT


Python Jobs


Senior Python Developer
ADVERITY GMBH 📍 VIENNA, AUSTRIA

Backend Software Engineer
GASKET GAMES CORP 📍 VANCOUVER, CANADA

Head of Engineering
FINDKEEP.LOVE 📍 REMOTE

Cybersecurity Firm Seeks Backend Lead
AON CYBER SOLUTIONS 📍 NY OR LA

More Python Jobs >>>


Articles & Tutorials


Programming Lego Mindstorms With Python
Notebook and code for the PyCon Australia 2017 presentation on programming Lego Mindstorms robots with Python. I recently learned about this on Pythonista Cafe (Thanks Jacek!) and using Python to program a Mindstorms brick seems fun.
GITHUB.COM/SSHOPOV

Building WebRTC Applications in Python Using AIORTC
Jeremy Lainé explains why he wrote a Python implementation of the WebRTC in the form of the AIORTC module. He also discusses how it works, how you can use it in your own projects, and what he has planned for the future.
PODCASTINIT.COM podcast

Build Python Microservices With Docker, Flask, and ReactJS
In this step-by-step course you’ll learn how to quickly spin up a reproducible development environment with Docker to manage a number of Python microservices. Once the app is up and running locally, you’ll see how to deploy and scale it on AWS. Learn more →
TESTDRIVEN.IOsponsor

How to Update Your Scikit-Learn Code for 2018
Is your scikit-learn code a few years old? Have you been getting warnings ever since you upgraded to the latest version, but you don’t know how to fix your code? This article can help you to fix the most common issues.
KEVIN MARKHAM • Shared by Kevin Markham

Python and Django Logging in Plain English
An exploration of the different pieces of logging in Python and how they all fit together in a Django app.
JAMES TIMMINS • Shared by James Timmins

Why You Should Be Using Pathlib
Why pathlib is better than os.path.
TREY HUNNER

Awesome Python Applications (Goals)
A catalogue of open-source Python applications and what we can learn from 180+ case studies on successfully shipping Python software.
MAHMOUD HASHEMI

Python Sets Quiz
Test your understanding of Python sets with this interactive quiz.
REAL PYTHON

JWT Auth With Django REST Framework
JWT stands for JSON Web Token and is an authentication strategy used by client/server applications where the client is a web application. Nice writeup for Djangonauts.
VITOR FREITAS

Two Years of PyBites
PyBites celebrates their 2 year anniversary. Congrats Bob & Julian!
PYBITES

Free Hotel Wifi With Python and Selenium
Knowing how to quickly write a Selenium script can be a real time saver…
GOKBERK YALTIRAKLI

Python Pandas: Tricks & Features You May Not Know
Lesser-known but idiomatic Pandas features for those already comfortable with Pandas’ basic functionality and concepts.
REAL PYTHON


Projects & Code


Python Community Map
A map full of lovely Python communities, making it easy to add yours.
PYTHON.ORG.BR • Shared by Jonatas Baldin

wikipedia2vec: Learning Vector Representations of Words and Entities From Wikipedia
GITHUB.COM/WIKIPEDIA2VEC

Anaconda Distribution 2018.12 Released
The Anaconda Python distribution switches from a major/minor version scheme to a year.month scheme. More info at the link.
ANACONDA.COM

Saleor 2.0 Release: Django-Based E-Commerce Platform
MEDIUM.COM/SALEOR

Art: Python Library for Converting Text to ASCII Art
SHAGHIGHI.IR

python-conv-lib: For-Loop-Styled Convolution Passes on Iterables
GUILLAUME CHEVALIER

Simple Logging
“Logging made simple, no excuses for any debug print calls.”
READTHEDOCS.IO

XSStrike: Advanced XSS Detection Suite
GITHUB.COM/S0MD3V

peewee-async: Asynchronous Interface for the Peewee ORM
GITHUB.COM/05BIT

home-assistant: Open Source Home Automation With Python
GITHUB.COM/HOME-ASSISTANT

📆🐍 Upcoming Python Events


PyCon Italy Call for Proposals
May 2–5 in Firenze, Italy

PythOnRio Meetup
December 29, 2018

PyCoffee Porto Meetup
December 29, 2018

Heidelberg Python Meetup
January 2, 2019

STL Python
January 2, 2019

PiterPy Breakfast
January 2, 2019
Happy Pythoning!
Copyright © 2018 PyCoder’s Weekly, All rights reserved.