#548 – OCTOBER 25, 2022
View in Browser »
Python 3.11: Cool New Features for You to Try
Python 3.11 is out! In this article, you’ll explore what Python 3.11 brings to the table. You’ll learn how Python 3.11 is the fastest and most user-friendly version of CPython yet, and learn about improvements to the typing system and to the asynchronous features of Python.
REAL PYTHON
Implementing a “Dry Run Mode” for Importing Data in Django
In data import processes it’s often useful to have a “dry run” mode that runs through the process but doesn’t actually save the data. This can allow you to check for validity and gather statistics, such as how many records already exist in the database. This post looks at how to implement a dry run mode in Django using database transactions.
ADAM JOHNSON
Python Tutorial: Start Working With Time-Series Data in InfluxDB
If your data changes every minute, MySQL isn’t going to cut it. Learn how to level up your time-series data analysis with a time-series database. This article covers how to set up open-source InfluxDB using Python, reading and writing data, and how to handle updates. Read the guide →
INFLUXDATAsponsor
Fostering Community & Managing the 3.11 Release
Does your company have a plan for growing an internal Python community? What are the attributes to look for when bringing someone into your department? This week on the show, Pablo Galindo Salgado returns to talk about building community through the Python Guild at Bloomberg and managing the release of Python 3.11.
REAL PYTHONpodcast
Defensive Coding Guide: Python
This guide is part of a multi-language document describing how to write security conscious code. Check out the recommendations for Python from the Fedora Project.
FEDORAPROJECT.ORG
Discussions
Python Jobs
Senior Software Engineer (Python, Qt, Linux) (Anywhere)
Content Operations Manager (Anywhere)
Articles & Tutorials
Build a Tic-Tac-Toe Game Engine With an AI Player in Python
In this step-by-step tutorial, you’ll build a universal game engine in Python with tic-tac-toe rules and two computer players, including an unbeatable AI player using the minimax algorithm. You’ll also create a text-based graphical front end for your library and explore two alternative front ends.
REAL PYTHON
5 Techniques to Make Your Loops Pythonic
If you’re coming from other programming languages, your approach to loops may not be idiomatic. This article covers five techniques to write more Pythonic loops, including examples for range()
, zip()
, reversed()
, enumerate()
, and sorted()
.
TANSEER SAJI
Scout APM: Built For Developers, By Developers
Performance issues are a pain. But with Scout’s APM tool, you can pinpoint performance and stability issues in Python applications with ease. Scout’s tracing logic detects the exact line of code causing the performance abnormality—fixing the issue before customers ever notice →
SCOUT APMsponsor
Matplotlib Coordinates: Graphing Math Functions in Python
Setting up Matplotlib coordinates and X and Y axes can be tricky. This article walks you through plotting both linear and nonlinear functions, allowing you to create graphs in Python the way you might in a graphing calculator.
JOHN LOCKWOOD
Python Basics: Numbers and Math
In this video course, you’ll learn the math that you’ll need for your Python programming journey. This includes integers and floating-point numbers, arithmetic operators, and string formatting for numbers.
REAL PYTHONcourse
Python Command Line Tricks
Using python -m
you can do all sorts of things from the command line, including: starting a webserver, opening a browser, parsing JSON, compressing files and much more.
MARTIN HEINZ• Shared by Martin Heinz
Find Your Next Tech Job Through Hired
Hired has 1000s of companies, from startups to Fortune 500s, who are hiring developers, data scientists, mobile engineers, and more. Create a profile with your skills and preferences for hiring managers to reach you directly. Sign up today!
HIREDsponsor
Improving Code Quality With Linting in Python
Linting checks your code for errors before you run it. This hands-on article explores how to perform quick linting checks in Python using Pylint.
KESHAV MALIK
A New (?) Way of Drawing Boxes in the Terminal
With clever use of some of the Unicode border characters you can build a better box around your text without any color bleeding.
WILL MCGUGAN
Projects & Code
django-pgtransaction: Postgres Transaction Replacement
GITHUB.COM/OPUS10• Shared by Paul Gilmartin
Events
PyKla Monthly Meetup
October 26, 2022
MEETUP.COM
Heidelberg Python Meetup
October 26, 2022
MEETUP.COM
Weekly Real Python Office Hours Q&A (Virtual)
October 26, 2022
REALPYTHON.COM
Python at Scale
October 27 to October 29, 2022
PYTHONATSCALE.COM
Global AI Developer Days
October 31, 2022
MEETUP.COM
PyCon PL 2022
November 3 to November 7, 2022
PYCON.ORG
PyCon Sweden
November 3 to November 5, 2022
PYCON.SE
Happy Pythoning!
This was PyCoder’s Weekly Issue #548.
View in Browser »
[ 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 ]