#python

[ follow ]
#django
fromRealpython
1 month ago
Web frameworks

Episode #278: PyCoder's Weekly 2025 Top Articles & Hidden Gems - The Real Python Podcast

fromRealpython
1 month ago
Web frameworks

Episode #278: PyCoder's Weekly 2025 Top Articles & Hidden Gems - The Real Python Podcast

Python
fromInfoWorld
1 day ago

Python's popularity slip: Here's what we know

Python's popularity is declining because older rival languages are gaining ground, even as practical tools and techniques simplify local development and package sharing.
Python
fromThepythoncodingstack
3 days ago

When "It Works" Is Not Good Enough * Live Workshops

Live, hands-on Python workshops teach dunder methods, iteration, and inheritance concepts to deepen understanding and improve robust, efficient coding; bundle available for $100.
Python
fromPycoders
4 days ago

PyCoder's Weekly | Issue #722

Practical Python tools and resources cover itertools for data science, circular-import debugging, unittest.mock testing techniques, and CI analytics for GitHub Actions optimization.
fromRealpython
4 days ago

Write Python Docstrings Effectively - Real Python

Writing clear, consistent docstrings in Python helps others understand your code's purpose, parameters, and outputs. In this video course, you'll learn about best practices, standard formats, and common pitfalls to avoid, ensuring your documentation is accessible to users and tools alike. By the end of this video course, you'll understand that:
Python
Python
fromRealpython
5 days ago

TinyDB: A Lightweight JSON Database for Small Projects - Real Python

TinyDB is a lightweight, pure-Python, document-oriented NoSQL database storing JSON documents and offering simple CRUD for small, local, single-process projects.
#full-stack-development
fromVue.js Jobs
2 weeks ago

Full Stack Engineer (focus on Python) at zuehlke - VueJobs

Founded in Switzerland in 1968, Zühlke is owned by its partners and located across Europe and Asia. We are a global transformation partner, with engineering and innovation in our DNA. We're trusted to help clients envision and build their businesses for the future - to run smarter today while adapting for tomorrow's markets, customers, and communities. Our multidisciplinary teams specialise in tech strategy and business innovation, digital solutions and applications,
Python
Python
fromPythonmorsels
1 week ago

Setting default dictionary values in Python

Use dict.get for non-mutating default lookups, dict.setdefault to initialize and return missing keys, and dict.fromkeys to initialize multiple keys.
Python
fromRealpython
1 week ago

Python's list Data Type: A Deep Dive With Examples Quiz - Real Python

Practice Python list operations including indexing, slicing, in-place updates, list methods, reversing, list() constructor, len(), and shallow vs deep copies.
Python
fromRealpython
1 week ago

Python's pathlib Module: Taming the File System Quiz - Real Python

Use Python's pathlib module to perform common filesystem operations like path joining, iteration, file creation, writing, renaming, and extracting filename components.
fromTechzine Global
1 week ago

Java gains ground for production AI as Oracle loses its grip

The development of AI is producing multiple winners and losers among programming languages. The best-known languages in datasets regularly produce better, more consistent AI-generated code. This is one of several explanations for the continued growth of Java. This is despite problems surrounding Oracle's revenue model for the programming language, which seems to be driving the popularity of Java-compatible alternatives. Python was ahead of other programming languages: as the most popular language before the AI hype, it has remained at a lofty height.
Java
Web development
fromTalkpython
1 week ago

Fly inside FastAPI Cloud

FastAPI Cloud aims to make deploying FastAPI apps as simple as one command, offering a Pythonic cloud and strengthening the open-source FastAPI ecosystem.
Python
fromPythonmorsels
1 week ago

Need switch-case in Python? It's not match-case!

Python's match statement provides structural pattern-matching distinct from switch-case and can match iterables, dictionaries, objects, and nested patterns.
Python
fromPythonbytes
1 week ago

Commands, out of the terminal

Python ecosystem receives developer tooling and runtime improvements: a native macOS command manager, a Python tool installer, removal of subprocess busy-polling, and a minimal secure interpreter.
Software development
fromMedium
2 weeks ago

I Can't Believe Rust Is Replacing Java

The X recommendation system was fully rewritten and open-sourced using only Rust and Python, replacing previous Java and Scala implementations.
Python
fromThepythoncodingstack
2 weeks ago

What's The Point of `itemgetter()` in Python? * [Club]

itemgetter provides a concise callable to extract items from sequences or mappings, offering clearer and often faster alternatives to equivalent lambda functions.
#rust
fromBerlin Startup Jobs
2 weeks ago

Job Vacancy: Senior Full-Stack Developer / Data Scientist (remote-friendly) // AIDAR | IT / Software Development Jobs | Berlin Startup Jobs

AIDAR is building the future of artist scouting. We help A&Rs and music professionals discover artists that truly fit their creative vision - using personalized AI agents that scout the global music landscape 24/7. The product is live, the beta is working, and we already have paying customers and EXIST AI Transfer funding. Role Now, we're hiring a Senior Full-Stack Engineer (m/w/d) to join AIDAR as our core technical hire.
Startup companies
#callable
Artificial intelligence
fromArs Technica
2 weeks ago

So yeah, I vibe-coded a log colorizer-and I feel good about it

LLMs enable non-coders to implement practical small projects, like a Python log colorizer, by generating usable code and lowering barriers to experimentation.
Python
fromThepythoncodingstack
3 weeks ago

Planning Meals, Weekly Shop, Alternative Constructors Using Class Methods

Use alternative constructors via class methods to build Meal and WeeklyMealPlanner objects and protect internal state with read-only properties and shallow copies.
fromBerlin Startup Jobs
4 weeks ago

Job Vacancy: Senior Software Engineer (Backend) (m/w/d) - Team Billing // Lumenaza GmbH | IT / Software Development Jobs | Berlin Startup Jobs

We are a green-tech company shaping the energy industry towards a more sustainable future. At Lumenaza, you have the opportunity to actively contribute to the world of decentralized and renewable energy. Our mission is to drive the energy transition forward - with passion and innovation. Lumenaza stands for clear values: sustainability, diversity, and collaboration. We take pride in our diverse team and are committed to supporting women in tech.
Software development
Tech industry
fromTheregister
3 weeks ago

Knee-Deep in the CAD: Doom runs inside a design modeler

Doom runs inside the OpenSCAD CAD modeler using a custom Python engine and OpenSCAD animation mode, achieving playable 10–20 FPS block-color rendering.
Python
fromKushal Das
3 weeks ago

Kushal Das

replyfast is a Python module for sending and receiving Signal messages with device registration, demo bot, scheduling support, and a Rust-based presage backend.
Data science
fromTheServerSide.com
3 weeks ago

Why Java devs should switch to Python or R for data science | TheServerSide

Python and R dominate data science front-end work, offering richer ecosystems and easier data analysis than Java for many statistical and machine learning tasks.
#ollama
#pandas
fromInfoWorld
1 month ago
Python

How to use Pandas for data analysis in Python

Pandas provides DataFrame and Series types that enable fast loading, precise manipulation, alignment, merging, and visualization of tabular data in Python.
fromPythonbytes
2 months ago
Python

This episdoe has a typo

Pandas 3.0.0 introduces a dedicated string dtype, copy-on-write semantics, and pd.col expressions, while typos improves spellchecking in code with LSP support.
Python
fromReuven Lerner
1 month ago

Build YOUR data dashboard - join my next 8-week HOPPy studio cohort

Create shareable interactive data dashboards in Python using Marimo; HOPPy cohort teaches dashboard building with mentorship, live instruction, and modern distribution tools.
Information security
fromThe Hacker News
1 month ago

Hackers Use LinkedIn Messages to Spread RAT Malware Through DLL Sideloading

LinkedIn phishing uses malicious WinRAR SFX and DLL sideloading with a legitimate PDF reader to deploy a Python-based RAT executing Base64 shellcode in memory.
Python
fromRealpython
1 month ago

uv vs pip: Python Packaging and Dependency Management - Real Python

Choose pip for broad compatibility and ecosystem support; choose uv for faster installs, reproducible environments, cleaner uninstalls, and streamlined new-project workflows.
fromMouse Vs Python
1 month ago

New Book: Vibe Coding Video Games with Python - Mouse Vs Python

In this book, you will learn how to use artificial intelligence to create mini-games. You will attempt to recreate the look and feel of various classic video games. The intention is not to violate copyright or anything of the sort, but instead to learn the limitations and the power of AI. Instead, you will simply be learning about whether or not you can use AI to help you know how to create video games.
Books
fromMouse Vs Python
1 month ago

How to Type Hint a Decorator in Python - Mouse Vs Python

Decorators are a concept that can trip up new Python users. You may find this definition helpful: A decorator is a function that takes in another function and adds new functionality to it without modifying the original function. Functions can be used just like any other data type in Python. A function can be passed to a function or returned from a function, just like a string or integer.
Software development
Python
fromTechzine Global
1 month ago

Anthropic invests in Python ecosystem security

Anthropic is funding the Python Software Foundation $1.5 million over two years to strengthen CPython and PyPI security, tooling, and community support.
Python
fromTheregister
1 month ago

Anthropic funds Python Foundation to help improve security

Anthropic donated $1.5 million to the Python Software Foundation to fund CPython and PyPI security improvements and broader open-source package ecosystem protections.
Python
fromRealpython
1 month ago

Intro to Object-Oriented Programming (OOP) in Python - Real Python

Object-oriented programming fundamentals in Python: defining classes, instantiating objects, and basic inheritance to write maintainable, less redundant code.
Python
fromPython Software Foundation Blog
1 month ago

Anthropic invests $1.5 million in the Python Software Foundation and open source security

Anthropic funds PSF $1.5M over two years to strengthen Python ecosystem security, improve CPython and PyPI defenses, and develop proactive malware-detection tools.
Python
fromThepythoncodingstack
1 month ago

Need a Constant in Python? Enums Can Come in Useful

Python has no built-in constants; immutable objects and UPPERCASE naming do not prevent reassignment of identifiers.
Python
fromThepythoncodingstack
1 month ago

Parkruns, Python's enumerate and zip, and Why Python Loops Are Different from Other Languages * [Club]

Python encourages iterating directly over items instead of manually indexing, producing clearer, safer, and more idiomatic code.
fromRealpython
1 month ago

Episode #279: Coding Python With Confidence: Beginners Live Course Participants - The Real Python Podcast

We speak with course instructor Stephen Gruppetta about building a course where the participants start using their knowledge as soon as possible. He describes how he's evolved his teaching techniques over years of working with beginners. We explore the advantages of having a curated collection of written tutorials, video courses, and a forum for asking those nagging questions. We also speak with students Louis and Andrew about their experiences learning
Python
Python
fromInfoWorld
1 month ago

Python starts 2026 with a bang

2026 brings major Python advancements: Astral's ultrafast 'ty' type checker (beta), Django 6, and Python-driven C code generation for faster applications.
Python
fromLondon Business News | Londonlovesbusiness.com
1 month ago

Automating the mundane: Leveraging Rpa and Python developers to streamline your workflow - London Business News | Londonlovesbusiness.com

Hiring both RPA developers and Python programmers eliminates repetitive operational friction and enables scalable automation that combines surface-level UI tasks with complex backend integrations.
fromPythonSpeed
1 month ago

Unit testing your code's performance, part 1: Big-O scaling

If you're trying to make sure your software is fast, or at least doesn't get slower, automated tests for performance would also be useful. But where should you start? My suggestion: start by testing big-O scaling. It's a critical aspect of your software's speed, and it doesn't require a complex benchmarking setup. In this article I'll cover: A reminder of what big-O scaling means for algorithms. Why this is such a critical performance property.
Software development
fromRealpython
1 month ago

How to Build a Personal Python Learning Roadmap - Real Python

If you want to learn Python or improve your skills, a detailed plan can help you gauge your current status and navigate toward a target goal. This tutorial will help you craft a personal Python learning roadmap so you can track your progress and stay accountable to your goals and timeline: The steps in this tutorial are useful for Python developers and learners of all experience levels. While you may
Python
fromRealpython
1 month ago

How to Convert Bytes to Strings in Python Quiz - Real Python

In this quiz, you'll test your understanding of the Convert Python Bytes to Strings tutorial.
Python
#indentation
Python
fromPycoders
1 month ago

PyCoder's Weekly | Issue #716

Python performance metrics, async web-app tradeoffs, uv's speed from engineering choices, and tools for building long-running, fault-tolerant AI agents.
Python
fromPatrick Muller
1 month ago

Static Protocols in Python: Behaviour Over Inheritance

Protocols enable structural typing in Python by validating object behavior (methods/attributes) rather than relying on inheritance.
Web frameworks
fromTalkpython
1 month ago

Web Frameworks in Prod by Their Creators

Creators and maintainers of major Python web frameworks compare production deployment patterns, async pitfalls, server choices, scaling strategies, and on-call operational lessons for real-world apps.
fromRealpython
1 month ago

Learn From 2025's Most Popular Python Tutorials and Courses - Real Python

Strengthen Your Python Foundations If you're just getting started with Python, building a solid foundation is the best investment you can make. The fundamentals you learn now will support everything you do later, from data analysis to web development to AI. These beginner-friendly tutorials and courses help you sharpen the core skills you'll use every day in Python, including loops, operators, lists, and functional techniques:
Software development
fromPythonmorsels
1 month ago

Debugging with f-strings

If you're using print calls to debug your Python code, consider using f-strings with self-documenting expressions instead. A broken Python program Here we have a program that makes a random math prompt and then validates whether the answer give by the user is correct: This program doesn't work right now: $ python3 check_mult.py What's 9 multiplied by 8? 72 That's incorrect Our program always tells us that our answer is incorrect.
Python
Online learning
fromBusiness Insider
1 month ago

This 17-year-old wrote the ultimate ELI5 for coding

Seventeen-year-old Aryan Poduri wrote GOAT Coder to teach children Python through hands-on exercises and simple explanations, making coding more accessible.
Python
fromPythonmorsels
1 month ago

Implicit string concatenation

Python automatically concatenates adjacent string literals (implicit string concatenation), allowing literal fragments to join across lines without plus signs or commas.
fromThepythoncodingstack
1 month ago

Mulled Wine, Mince Pies, and More Python

And there's another thing I can never remember, especially at this time of year when large-ish gatherings are more common. How many people are needed in a group to have a probability greater than 50% that two people share a birthday? This could be an ice-breaker in some awkward gatherings, but only if you're with a geeky crowd. Although the analytical proof is cool, writing Python code to explore this problem is just as fun. Here's my article from February exploring the Birthday Paradox:
Python
Python
fromPycoders
1 month ago

PyCoder's Weekly | Issue #715

2025 highlights include Python dataclass internals, pylock.toml lockfiles for reproducible dependencies, Django vs FastAPI comparisons, Loguru logging, and Narwhals unified DataFrame functions.
Software development
fromZDNET
1 month ago

I took Harvard's free online coding classes to better catch AI's errors - and they're legit

Learning to code remains essential because AI-generated code is frequently incorrect and requires knowledgeable human review and correction.
Python
fromRealpython
1 month ago

LlamaIndex in Python: A RAG Guide With Examples - Real Python

Retrieval-augmented generation feeds LLMs relevant external documents at query time, improving accuracy and enabling answers from private data without fine-tuning models.
fromRealpython
1 month ago

LlamaIndex in Python: A RAG Guide With Examples Quiz - Real Python

In this quiz, you'll test your understanding of the LlamaIndex in Python: A RAG Guide With Examples tutorial. By working through this quiz, you'll revisit how to create and persist an index to disk, review how to reload it, and see why persistence improves performance, lowers costs, saves time, and keeps results consistent.
Python
Python
fromInfoQ
1 month ago

Python Workers Redux: Wasm Snapshots and Native uv Tooling

Cloudflare's Python Workers use Wasm memory snapshots to enable near-instant cold starts, significantly reducing startup times and expanding package compatibility.
fromInfoWorld
1 month ago

Get started with Python's new native JIT

sys._jit.is_available(): Lets you know if the current build of Python has the JIT. Most binary builds of Python shipped will now have the JIT available, except the "free-threaded" or "no-GIL" builds of Python. sys._jit.is_enabled(): Lets you know if the JIT is currently enabled. It does not tell you if running code is currently being JITted, however.
Python
Python
fromPycoders
1 month ago

PyCoder's Weekly | Issue #714

Macroscope detected the most real-world AI code-review bugs with fewer false positives, particularly excelling on Python.
Python
fromRealpython
1 month ago

Reading User Input From the Keyboard With Python - Real Python

Use Python's input() to read keyboard input as strings, enabling interactive, personalized programs that react to user-provided data.
fromRealpython
2 months ago

How to Build the Python Skills That Get You Hired - Real Python

Web development roles often emphasize frameworks like Flask, Django, and, more recently, FastAPI, along with database knowledge and REST API design. Employers often seek full-stack engineers who feel comfortable working on the backend as well as frontend, including JavaScript, HTML, and CSS. Data science positions highlight libraries like NumPy, pandas, Polars, and Matplotlib, plus an understanding of statistical concepts. Machine learning jobs typically add PyTorch or TensorFlow to the mix. Test automation roles likely require familiarity with frameworks such as Selenium, Playwright, or Scrapy.
Python
Python
fromMedium
2 months ago

uv: The Blazing-Fast Python Package Manager Changing the Game

uv provides extremely fast Python dependency resolution and environment management using a Rust-based installer, aggressive caching, parallel downloads, and integrated tooling replacing multiple tools.
fromPythonmorsels
2 months ago

Embrace whitespace

Your code is easiest to read just after you've written it. Your future self will find your code far less readable days, weeks, or months after you've written it. When it comes to code readability, whitespace is your friend. Whitespace around operators Compare this: To this: I find that second one more readable because the operations we're performing are more obvious (as is the order of operations). Too much whitespace can hurt readability though: This seems like a step backward because we've lost those three groups we had before. With both typography and visual design, more whitespace isn't always better.
Python
Python
fromRealpython
2 months ago

Exploring Asynchronous Iterators and Iterables - Real Python

Asynchronous iterators and iterables enable non-blocking iteration over awaitable objects in Python, supporting async for loops, async generator expressions, and use within async loops and comprehensions.
Python
fromPyImageSearch
2 months ago

Getting Started with Streamlit: Learn Widgets, Layouts, and Caching - PyImageSearch

Streamlit converts pure Python scripts into interactive, reactive web apps quickly without writing HTML, CSS, or JavaScript, enabling fast deployment and cached performance.
fromPythonbytes
2 months ago

LinkedIn Cringe

Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Monday at 10am PT. Older video versions available there too. Finally, if you want an artisanal, hand-crafted digest of every week of the show notes in email form? Add your name and email to our friends of the show list, we'll never share it. Brian #1: Deprecations via warnings Michael #2: docs
Python
fromThepythoncodingstack
2 months ago

If You Love Queuing, Will You Also Love Priority Queuing? * [Club]

You provide three tiers to your customers: Gold, Silver, and Bronze. And one of the perks of the higher tiers is priority over the others when your customers need you. Gold customers get served first. When no Gold customers are waiting, you serve Silver customers. Bronze customers get served when there's no one in the upper tiers waiting. How do you set up this queue in your Python program?
Python
fromEfficient Coder
2 months ago
Python

A Pythonista's Guide to the 2026 Code Rush | EfficientCoder

Python remains dominant in AI and data, but needs companion languages for high-performance and scalable systems as efficiency demands rise.
Music
fromRaymondcamden
2 months ago

My Last Spotify Demo (this time I mean it - honest)

Built a personal Spotify Unwrapped using a Spotify data export, Python, and Astro, and planned mapping artists to genres without using the API.
fromRealpython
2 months ago

Python Inner Functions: What Are They Good For? Quiz - Real Python

In this quiz, you'll test your understanding of the Python Inner Functions: What Are They Good For? tutorial. By working through this quiz, you'll revisit how inner functions work with enclosing scopes, when to use nonlocal to update captured state, how closures retain data across calls, and how decorators wrap a callable to extend behavior. You'll apply these ideas to organize helpers, reuse state, and write clear, maintainable functions in real projects.
Python
Data science
fromTreehouse Blog
2 months ago

Beginning Data Analysis: From Questions to Insights

Learning data analysis enables beginners to turn raw information into meaningful insights, spot trends, and support evidence-based decision-making across many fields.
Software development
fromRealpython
2 months ago

Using Functional Programming in Python - Real Python

Python supports functional programming by treating functions as first-class citizens and by allowing anonymous functions via the lambda keyword.
#beginner-programming
Python
fromTalkpython
2 months ago

Computer Science from Scratch

Rebuild computer science education to serve self-taught and nontraditional programmers by teaching core CS concepts through practical, career-relevant curricula.
Software development
fromRealpython
2 months ago

How to Use Google's Gemini CLI for AI Code Assistance - Real Python

Gemini CLI provides AI-powered code analysis, bug identification, and fix suggestions directly in the terminal with Google account authentication and Node.js/Python prerequisites.
Python
fromPycoders
2 months ago

PyCoder's Weekly | Issue #711

Python offers utilities for pairwise iteration and mocking, supports multi-agent orchestration with Temporal, and integrates with Claude Code and a new SQL Server Python driver.
Python
fromPythonmorsels
2 months ago

Wrapping text output in Python

Use Python's textwrap module to automatically wrap text to a specified width and render wrapped lines with wrap() or fill().
fromMouse Vs Python
2 months ago

ANN: Vibe Coding Video Games with Python - Mouse Vs Python

Welcome to Vibe Coding Video Games with Python. In this book, you will learn how to use artificial intelligence to create mini-games. You will attempt to recreate the look and feel of various classic video games. The intention is not to violate copyright or anything of the sort, but instead to learn the limitations and the power of AI. Instead, you will simply be learning about whether or not you can use AI to help you know how to create video games.
Python
Python
fromTalkpython
2 months ago

Python apps with LLM building blocks

Treat LLMs as standard APIs in Python apps: create focused endpoints, use wrappers for caching/validation, monitor responses, and constrain outputs with types.
Python
fromInfoWorld
2 months ago

Python vs. Kotlin: Which loops do you like better?

Comparisons of Python and Kotlin reveal syntax and behavior differences; preview of Python 3.15 sampling profiler, AWS Zed AI editor, and AI/ML alternatives outside Python.
Software development
fromInfoQ
2 months ago

Aspire 13 Delivers Multi-Language Support and Significant Enhancements Across the Platform

Aspire 13 transforms Aspire into a polyglot application platform with first-class Python and JavaScript support alongside existing .NET capabilities.
fromPython GUIs
2 months ago

Getting Started With the NiceGUI Library in Python

To get the most out of this tutorial, you should have a basic knowledge of Python. Familiarity with general GUI programming concepts, such as event handling, widgets, and layouts, will also be beneficial. Installing NiceGUI Before using any third-party library like NiceGUI, you must install it in your working environment. Installing NiceGUI is as quick as running the python -m pip install nicegui command in your terminal or command line. This command will install the library from the Python Package Index (PyPI).
Web frameworks
Python
fromRealpython
2 months ago

How to Convert Bytes to Strings in Python - Real Python

Use Python's bytes.decode() with the correct character encoding to convert raw byte data from files, networks, or APIs into readable strings.
fromHoloViz Blog
2 months ago

Rich parameters & reactive programming with Param: 2.3 release - HoloViz Blog

Easily create classes with rich, declarative attributes - Parameter objects - that include extended metadata for various purposes such as runtime type and range validation, documentation strings, default values or factories, nullability, etc. In this sense, Param is conceptually similar to libraries like Pydantic, Python's dataclasses, or Traitlets. A suite of expressive and composable APIs for reactive programming, enabling automatic updates on attribute changes, and declaring complex reactive dependencies and expressions that can be introspected by other frameworks to implement their own reactive workflows.
Software development
Python
fromdaniel.feldroy.com
3 months ago

TIL: Default code block languages for mkdocs

Set default_lang: python in mkdocs.yml using pymdownx.highlight so code blocks without language tags are highlighted as Python.
fromTreyhunner
3 months ago

Python Morsels Lifetime Access Sale

When you sign up for Python Morsels, you'll choose your current Python skill level, from novice to advanced. Based on your skill level, each Monday I'll send you a personalized routine with: a short screencast to watch (or read) a multi-part exercise to move you outside your comfort zone a mini exercise that you can accomplish in just 10 minutes links to dive deeper into subsequent screencasts and exercises
Python
[ Load more ]