#554 – DECEMBER 6, 2022
In this video course, you’ll learn how to effectively work with file system paths in Python 3 using the
pathlib module in the standard library.
REAL PYTHON course
A Crash Course in Comprehensions and Generators
A great collection of code snippets that showcase the power and flexibility of list comprehensions, generators and related constructs.
PETE FISON • Shared by Pete FIson
TelemetryHub by Scout APM, A One-Step Solution for Open-Telemetry
Imagine a world where you could see all of your logs, metrics, and tracing data in one place. We’ve built TelemetryHub to be the simplest observability tool on the market. We supply peace of mind by providing an intuitive user experience that allows you to easily monitor your application →
SCOUT APM sponsor
Guido van Rossum: Python and the Future of Programming
An in-depth, 3 hour interview with Guido van Rossum by Lex Fridman.
LEX FRIDMAN podcast
PEP 683: Immortal Objects, Using a Fixed Refcount
Currently all CPython objects have some memory allocated to maintain state, even those that are immutable. PEP 683 proposes “Immortal Objects” and this thread discusses the proposal.
What Can Python Do That R Can’t?
Software Engineer – Weissman Lab (Cambridge, MA, USA)
Whitehead Institute for Biomedical Research
Senior Software Engineer (Python, Qt, Linux) (Anywhere)
More Python Jobs >>>
Articles & Tutorials
Multiprocessing Race Conditions in Python
A race condition happens when parallel tasks attempt to execute code at the same time and the results are dependent on order of execution. Finding race conditions can be challenging, this article gives some hints as to how to find the different kinds of race conditions when coding with the
Preparing Data to Measure ML Model Performance
How do you prepare a dataset for machine learning (ML)? How do you go beyond cleaning the data and move toward measuring how the model performs? This week on the show, Jodie Burchell, developer advocate for data science at JetBrains, returns to talk about strategies for better ML model performance.
REAL PYTHON podcast
Connect, Integrate & Automate Your Data – From Python or Any Other Application
At CData, we simplify connectivity between the application and data sources that power business, making it easier to unlock the value of data. Our SQL-based connectors streamline data access making it easy to access real-time data from on-premise or cloud databases, SaaS, APIs, NoSQL and Big Data →
CDATA SOFTWARE sponsor
How to Get a List of All Files in a Directory With Python
In this tutorial, you’ll be examining a couple of methods to get a list of files and folders in a directory with Python. You’ll also use both methods to recursively list directory contents. Finally, you’ll examine a situation that pits one method against the other.
Python Type Hints: Case Study on
This deep article talks about Luke’s journey to try to add type checking and why he often gives up. It walks through what was needed to add types to
parsy, one of the libraries he maintains and how it compared to other similar libraries.
update_fields for Better Django Performance
update_fields argument to the
.save() call restricts the underlying SQL to just the named fields. For some conditions this can mean a performance boost. This article shows where it can be helpful and when it might lead to bugs.
7 Useful Python Libraries You Should Use in Your Next Project
This article introduces you to 7 useful Python libraries: PySnooper, schedule, MechanicalSoup, ftfy, rpyc, pyglet, and rope. Read on to learn how these can help you with your next project.
Python Linter Comparison 2022
There are many linter choices for Python, this article covers a lot of them: Pylint, Pyflakes, Flake8, autopep8, Bandit, Prospector, Pylama, Pyroma, Black, Mypy, Radon, and mccabe.
A Mastodon Opportunity for Developers
As the article starts: “There’s a lot of interest in Mastodon at the moment, For Reasons.” This article talks about how to play with the Mastodon API to embed content.
Time Series Data: Do You Need a Purpose-Built Database
Is time series data just any dataset with a timestamp field? How do time series workloads differ from OLTP or full text search? Get all the answers in this technical e-book from the creators of InfluxDB. Download PDF.
Python and .NET, an Ongoing Saga
Python.NET has released a new version, so Nikos has written an article that explores the history of Microsoft, .NET, and Python including the state of Iron Python.
Reddit Monitoring With Python
A step-by-step tutorial on creating a Reddit keyword monitoring tool with Python and
praw. Learn how to run a Python script to watch keywords on a subreddit.
Projects & Code
jupyterlite: Wasm Powered Jupyter Running in the Browser
torchscale: Transformers at Any Scale
python-easter-eggs: Easter Eggs and Hidden Jokes in Python
lumi: Nano Framework to Convert Functions Into a REST API
django-relativity: More Expressive ORM Relationships
December 7, 2022
NZPUG-Auckland Coding Evening
December 7, 2022
Weekly Real Python Office Hours Q&A (Virtual)
December 7, 2022
December 8, 2022
PyCon Bolivia 2022
December 9 to December 11, 2022
This was PyCoder’s Weekly Issue #554.
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 ]