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

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your