Comprehensions, pathlib, Guido Interview, and More

#554 โ€“ DECEMBER 6, 2022 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Using Python’s pathlib Module
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 APMsponsor

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


Discussions


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.
PYTHON.ORG

What Can Python Do That R Can’t?
REDDIT


Python Jobs


Software Engineer - Weissman Lab
WHITEHEAD INSTITUTE FOR BIOMEDICAL RESEARCH ๐Ÿ“ CAMBRIDGE, MA, USA

Senior Software Engineer (Python, Qt, Linux)
VIOLET ๐Ÿ“ 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 multiprocessing module.
JASON BROWNLEE

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 SOFTWAREsponsor

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.
REAL PYTHON

Python Type Hints: Case Study on parsy
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.
LUKE PLANT

Save Using update_fields for Better Django Performance
The 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.
REDOWAN DELOWAR

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.
FARHAN TANVIR

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.
AL SWEIGART

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.
ANDY PIPER

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.
INFLUXDATAsponsor

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.
NIKOS VAGGALIS

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.
LEON WEI


Projects & Code


Brought to you by Real Python for Teamssponsor
Online Python training created by a community of experts. Give your team the real-world Python skills they need to succeed โ†’

jupyterlite: Wasm Powered Jupyter Running in the Browser
GITHUB.COM/JUPYTERLITE

torchscale: Transformers at Any Scale
GITHUB.COM/MICROSOFT

python-easter-eggs: Easter Eggs and Hidden Jokes in Python
GITHUB.COM/ORKOHUNTER

lumi: Nano Framework to Convert Functions Into a REST API
GITHUB.COM/TANMOY741127

django-relativity: More Expressive ORM Relationships
GITHUB.COM/ALEXHILL

๐Ÿ“†๐Ÿ Upcoming Python Events


STL Python
December 7, 2022

NZPUG-Auckland Coding Evening
December 7, 2022

Weekly Real Python Office Hours Q&A (Virtual)
December 7, 2022

Python Atlanta
December 8, 2022

PyCon Bolivia 2022
December 9 to December 11, 2022
Happy Pythoning!
Copyright ยฉ 2022 PyCoder’s Weekly, All rights reserved.
You are receiving this email because you opted in on our website at pycoders.com
Our mailing address: DevCademy Media Inc. ยท #720-999 West Broadway, Vancouver BC V5Z 1K5, Canada

Unsubscribe | Update Email Address

Older messages

Python + Power BI, Parallel Loops, Fast Testing, and More

Tuesday, November 29, 2022

Microsoft Power BI and Python: Two Superpowers Combined #553 – NOVEMBER 29, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Microsoft Power BI and Python: Two Superpowers Combined In this tutorial,

WebAuthn, Mastodon, Python 3.12, and More

Tuesday, November 22, 2022

Moving Projects Away From Passwords With WebAuthn #552 – NOVEMBER 22, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Moving Projects Away From Passwords With WebAuthn What if you didn't have to

Refactoring Python Code, Chrome Extensions, Asyncio, and More

Tuesday, November 15, 2022

Refactoring: Prepare Your Code to Get Help #551 – NOVEMBER 15, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Refactoring: Prepare Your Code to Get Help In this Code Conversation video course, you

Python 3.11's Speedup, Scopes, Google APIs, and More

Tuesday, November 8, 2022

Where Exactly Does Python 3.11 Get Its Speedup? #550 – NOVEMBER 8, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Where Exactly Does Python 3.11 Get Its Speedup? This deep dive into Python

First Match in a List, Memes With Pillow, When to Upgrade to 3.11, and More

Tuesday, November 1, 2022

How to Get the First Match From a Python List or Iterable #549 – NOVEMBER 1, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo How to Get the First Match From a Python List or Iterable In this

You Might Also Like

Christmas On Repeat 🎅

Monday, December 23, 2024

Christmas nostalgia is a hell of a drug. Here's a version for your browser. Hunting for the end of the long tail • December 22, 2024 Hey all, Ernie here with a refresh of a piece from our very

SRE Weekly Issue #456

Monday, December 23, 2024

View on sreweekly.com A message from our sponsor, FireHydrant: On-call during the holidays? Spend more time taking in some R&R and less getting paged. Let alerts make their rounds fairly with our

The Power of an Annual Review & Grammarly acquires Coda

Sunday, December 22, 2024

I am looking for my next role, Zen Browser got a fresh new look, Flipboard introduces Surf, Campsite shuts down, and a lot more in this week's issue of Creativerly. Creativerly The Power of an

Daily Coding Problem: Problem #1645 [Hard]

Sunday, December 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Implement regular expression matching with the following special characters: .

PD#606 How concurrecy works: A visual guide

Sunday, December 22, 2024

A programmer had a problem. "I'll solve it with threads!". has Now problems. two he ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌

RD#486 (React) Things I Regret Not Knowing Earlier

Sunday, December 22, 2024

Keep coding, stay curious, and remember—you've got this ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

🎶 GIFs Are Neat, but I Want Clips With Sound — Your Own Linux Desktop in the Cloud

Sunday, December 22, 2024

Also: 9 Games That Were Truly Ahead of Their Time, and More! How-To Geek Logo December 22, 2024 Did You Know Dextrose is another name for glucose, so if you see it listed prominently on the ingredients

o3—the new state-of-the-art reasoning model - Sync #498

Sunday, December 22, 2024

Plus: Nvidia's new tiny AI supercomputer; Veo 2 and Imagen 3; Google and Microsoft release reasoning models; Waymo to begin testing in Tokyo; Apptronik partners with DeepMind; and more! ͏ ͏ ͏ ͏ ͏ ͏

Sunday Digest | Featuring 'The World’s 20 Largest Economies, by GDP (PPP)' 📊

Sunday, December 22, 2024

Every visualization published this week, in one place. Dec 22, 2024 | View Online | Subscribe | VC+ | Download Our App Hello, welcome to your Sunday Digest. This week, we visualized public debt by

Android Weekly #654 🤖

Sunday, December 22, 2024

View in web browser 654 December 22nd, 2024 Articles & Tutorials Sponsored Solving ANRs with OpenTelemetry While OpenTelemetry is the new observability standard, it lacks official support for many