#python

[ follow ]
#til
fromPythonmorsels
6 hours ago

Don't call dunder methods

Dunder methods, or double-underscore methods, serve as hooks for customizing Python behavior, allowing programmers to define or modify functionalities like equality and comparison.
Python
#inheritance
fromRealpython
16 hours ago

Exploring Python Closures: Examples and Use Cases - Real Python

In Python, a closure is typically a function defined inside another function that grabs the objects defined in its enclosing scope and associates them with the inner function.
Python
#sqlite
#programming
#cpython
fromThepythoncodingstack
4 days ago

Do You Really Know How `or` And `and` Work in Python?

In Python, every object is either truthy or falsy. When using the built-in bool(), truthy objects return True and falsy objects return False.
Python
#ai-development
fromHackernoon
3 months ago
Artificial intelligence

Why Most AI Agents Fail in Production (And How to Build Ones That Don't) | HackerNoon

fromHackernoon
3 months ago
Artificial intelligence

Why Most AI Agents Fail in Production (And How to Build Ones That Don't) | HackerNoon

#community-engagement
fromMouse Vs Python
1 week ago

Creating TUIs with Textual and Python is Released - Mouse Vs Python

Textual is a rapid application development framework for your terminal or web browser, enabling the creation of complex applications with practical user interfaces.
Python
fromNedbatchelder
1 week ago

2048: iterators and iterables

Using range() allows for the creation of reusable iterables, while reversed() creates a non-reusable iterator, leading to potential iteration issues in nested loops.
#coding
fromRealpython
2 weeks ago
Education

Episode #256: Solving Problems and Saving Time in Chemistry With Python - The Real Python Podcast

fromRealpython
2 weeks ago
Education

Episode #256: Solving Problems and Saving Time in Chemistry With Python - The Real Python Podcast

#scala
fromMedium
1 week ago
Web development

End-to-End Setup for Scala Pipeline and CI/CD on Windows for Python Developers

fromMedium
1 week ago
Web development

End-to-End Setup for Scala Pipeline and CI/CD on Windows for Python Developers

fromPybites
1 week ago

From SQL To SQLModel: A Cleaner Way To Work With Databases In Python - Pybites

SQLModel is a library for interacting with databases through Python objects and type annotations, eliminating the need to write direct SQL queries.
Python
#visual-studio-code
fromRealpython
1 week ago

Episode #257: Comparing Real-World Python Performance Against Big O - The Real Python Podcast

The task coded in Go optimized from O(n²) to O(n) contrasts with Python, questioning whether an interpreted language can match the performance of a compiled one.
Python
fromSitePoint Forums | Web Development & Design Community
1 week ago

I cannot deploy my web service no matter what!I am doing a simple Python-based project with a basic frontend. it never seems to get deployed at all!

The executable gunicorn could not be found, despite being listed in requirements.txt and confirmed committed and pushed.
Python
fromRealpython
1 week ago

What Is Python's __init__.py For? - Real Python

The special file __init__.py serves as a marker to indicate that its containing directory is a regular package. When people talk about a package in Python, they generally mean a regular package.
Python
#software-development
fromPycoders
2 weeks ago

PyCoder's Weekly | Issue #689

The Gang of Four design patterns specify object-oriented solutions to common issues in code, yet Python lacks many of the problems these solutions address.
Python
#development
#static-type-checking
#software-release
#performance
fromRealpython
2 weeks ago

Python 3.14 Preview: Template Strings (T-Strings) - Real Python

String templates are strings containing placeholders that can be populated with specific values dynamically at runtime, used for generating textual content.
Python
fromMouse Vs Python
3 weeks ago

Creating a Website with Sphinx and Markdown - Mouse Vs Python

To create a barebones Sphinx site, run the command sphinx-quickstart NAME_OF_SITE_FOLDER inside your virtual environment. It will ask you a series of questions.
Python
fromPythonbytes
3 weeks ago

Motivation time

Trey Hunter has compiled a comprehensive list of cheat sheet articles on his Python Morsels blog, offering valuable resources for Python developers looking to enhance their skills.
Python
#machine-learning
fromInfoWorld
3 weeks ago

Google touts new Python client library for Data Commons

Google's newly launched Python client library for Data Commons helps developers easily query and integrate statistical data from over 200 datasets, supporting custom instances.
Python
fromRealpython
3 weeks ago

Episode #255: Structuring Python Scripts & Exciting Non-LLM Software Trends - The Real Python Podcast

The structure of your Python script should include inline metadata as defined in PEP 723 to facilitate automatic environment creation and dependency management.
Python
#development-tools
fromInfoWorld
3 weeks ago

Pyrefly and Ty: Two new Rust-powered Python type-checking tools compared

Modern language tooling demands a real-time feedback loop that Python can't always deliver at the speed required. Rust fills that gap.
Python
fromPycoders
4 weeks ago

PyCoder's Weekly | Issue #687

Avoid performance regressions in your Python app by staying on top of Postgres maintenance. This monthly checklist outlines what to monitor, how to catch slow queries early.
Python
fromRealpython
4 weeks ago

Starting With DuckDB and Python - Real Python

DuckDB provides a powerful, seamless way to manage large datasets in Python, utilizing OLAP optimization for enhanced data handling and query capabilities.
Data science
fromPythonbytes
4 weeks ago

Python Language Summit 2025 Highlights

The Python Language Summit led at PyCon highlighted key discussions among Python developers, shaping the future trajectory and addressing security concerns in the community.
Python
fromTalkpython
1 month ago

New Theme Song: Served In A Flask

Back in the early days of Talk Python To Me, the original theme song by Smixx became iconic, but I had to remove it. Now, I'm excited to announce a new theme song that captures our tech journey and the evolution of Python! This new song, 'Served In A Flask', involves references to moving from Pyramid to Quart, embracing modern Python concepts like Pydantic and async/await.
Music
#data-science
fromThe Hacker News
1 month ago

Malicious PyPI Package Masquerades as Chimera Module to Steal AWS, CI/CD, and macOS Data

Cybersecurity researchers have discovered a malicious package on the Python Package Index (PyPI) repository that's capable of harvesting sensitive developer-related information, such as credentials, configuration data, and environment variables, among others.
Growth hacking
fromRealpython
1 month ago

Episode #253: Starting With Marimo Notebooks & Python App Config Management - The Real Python Podcast

Marimo notebooks provide an innovative approach to interactivity in coding, featuring sandboxing for environment management and enabling reproducibility in sharing notebooks.
Python
fromPeterbe
1 month ago

A Python dict that can report which keys you did not use - Peterbe.com

For testing large Python objects, ensure you're unit testing everything retrieved, especially when data in reports doesn't match the database query.
Django
#podcast
fromTalkpython
1 month ago
Podcast

Deep Dives Complete: 600K Words of Talk Python Insights

All episodes of the Talk Python To Me podcast now feature comprehensive deep dive analyses to enhance learning.
Deep dives total 600,000 words, providing 50 hours of reading resources for podcast listeners.
fromPythonbytes
1 month ago
Python

Most of OpenAI's tech stack runs on Python

Python Bytes discusses exciting news from the Python community, including updates on server features and issues with email delivery.
fromPython GUIs
1 month ago

PyQt6, PySide6 Books - Create GUI Applications with Python & Qt, 6th Edition

The 6th edition of 'Create GUI Applications with Python & Qt' updates the content for PyQt6 & PySide6, incorporating newer Python features and extended examples.
Django
fromThe JetBrains Blog
1 month ago

Faster Python: Concurrency in async/await and threading | The PyCharm Blog

In programming, multithreading refers to the ability of a program to execute multiple sequential tasks concurrently. However, multithreading in Python is limited because of the Global Interpreter Lock (GIL).
Cooking
fromPythonbytes
1 month ago

Stop with .folders in my ~/

There are a lot of interesting lessons to be learned about application design and user data access through this guide on managing user-specific storage.
DevOps
fromMedium
2 months ago

Build Multi-Agentic AI Agents with AWS Bedrock from Scratch..

Create a multi-agent system using AWS Bedrock and Lambda functions, enabling agents to communicate and respond based on user inquiries.
Artificial intelligence
fromeLearning Industry
1 month ago

7 Ways To Supercharge Your eLearning Workflow With VBA And Python Automation

VBA and Python significantly enhance efficiency in eLearning through automation.
Combining VBA and Python can streamline workflows and reduce errors in educational content development.
Online learning
fromMouse Vs Python
1 month ago

Parsing XML Comments with Python - Mouse Vs Python

The key point here is to create an instance of ET.XMLParser and set insert_comments to True. Then the code will work.
Python
#unix
fromCogito, Ergo Sumana
1 month ago

Congratulating Leonard for his Community Service Award

He's not a boastful guy. When he writes about these decades of work it's usually to share lessons that others might find useful...
Online Community Development
fromTalkpython
1 month ago

Agentic AI Workflows with LangGraph

Utilizing an agentic framework empowers LLMs in Python applications.
Artificial intelligence
fromTechzine Global
1 month ago

Fivetran expands Connector SDK for custom data sources

Fivetran's Connector SDK enables rapid creation of custom connectors for data sources, reducing the need for DevOps involvement.
Data science
[ Load more ]