| | Using Python’s .__dict__ to Work With Attributes In this tutorial, you’ll dive deeper into the .__dict__ attribute in Python objects. This attribute is a dictionary-like object that holds writable class or instance attributes. It allows you to manage attributes at a low level, making your classes flexible and efficient. REAL PYTHON
Quiz: Using Python’s .__dict__ to Work With Attributes REAL PYTHON
Create Your First App With Streamlit This tutorial shows you how to start building Streamlit data science apps with Python. Streamlit is an open-source Python library that makes it easy to create and share custom web apps for machine learning and data science. MARTIN FITZPATRICK
Build AI Agents With 300+ APIs Nango is an open source platform that lets you build AI applications with 300+ APIs. We offer hundreds of pre-built integrations, customizable in code, and developer tooling purpose built for scaling and maintaining integrations. Try Nango for free → NANGO INC.sponsor
Refactoring Long Boolean Expressions This article shows you how you can improve the readability of long boolean expressions by splitting your code, naming sub-expressions, or rewriting your Boolean logic. TREY HUNNER
Python Releases: 3.14.0a7, 3.13.3, 3.12.10, 3.11.12, 3.10.17 and 3.9.22 CPYTHON DEV BLOG
PEP 750: Template Strings (Accepted) PYTHON.ORG
PEP 751: A File Format to Record Python Dependencies for Installation Reproducibility (Accepted) PYTHON.ORG
Articles & Tutorials How to Build Hot Module Replacement in Python Django’s dev server, uvicorn, and others support hot-loading by restarting the service. For large programs this can be time consuming. This article shows you how to track just what needs to be reloaded and minimize the refresh to only those modules. GAUGE
Is Python Code Sensitive to CPU Caching? In lower level languages, being aware of what gets cached in the CPU can make large differences in performance. Python, being higher level, doesn’t give you that kind of control. But that doesn’t mean there aren’t things you can do. LUKAS ATKINSON
Learning Intermediate Python With a Deep Dive Course Do you want to learn deeper concepts in Python? Would the accountability of scheduled group classes help you get past the basics? This week, five Real Python Intermediate Deep Dive workshop members discuss their experiences. REAL PYTHON podcast
Checking for Membership Using in and not in In this video course, you’ll learn how to check if a given value is present or absent in a collection of values using Python’s in and not in operators, respectively. This type of check is known as membership test in Python. REAL PYTHON course
How to Strip Characters From a Python String Use Python’s .strip() method to remove unwanted whitespace or specific characters. Learn about common pitfalls, real-world use cases, and compare .strip() with similar methods like .lstrip() and .removesuffix() . REAL PYTHON
Django: What’s New in 5.2 Django 5.2 was recently released and this post talks about the new features. They include: automatic model imports in the shell, composite primary keys, form customization, the simple block tag, and more. ADAM JOHNSON
The Best Programmers I Know In this opinion piece, Matthias writes about the traits he thinks make a good developer. They include things like reading the docs, knowing your tools, continuous learning, helping others, and more. MATTHIAS ENDLER
BeeWare and the State of Python on Mobile Talk Python interviews Russell Keith-Magee and they talk about Beeware, a project working towards true native apps built on Python, especially for iOS and Android. TALK PYTHON
Quiz: Python Set Comprehensions REAL PYTHON
Quiz: GitHub Actions for Python REAL PYTHON
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 → cookiecutter-data-science: Project Structure for Data Science GITHUB.COM/DRIVENDATAORG
plain: A Web Framework for Building Products With Python GITHUB.COM/DROPSEED
textcase: Feature-Rich Text Case Conversion Library GITHUB.COM/ZOBWEYT
PyPack Trends: Compare Python Package Downloads GITHUB.COM/TYLERHILLERY • Shared by Tyler Hillery
Nallely: Maps Your MIDI Devices With Anything GITHUB.COM/DR-SCHLANGE • Shared by vince
| | | | | |
|