Real Python: Creating a Scalable Flask Web Application From Scratch
Flask is a powerful and flexible micro web framework for Python, ideal for both small and large web projects. It provides a straightforward way to get a web application up and running, with all the...
View ArticlePyCoder’s Weekly: Issue #666: Monkeypatching Django, LLMs with Python,...
#666 – JANUARY 28, 2025View in Browser »Monkeypatching Django The nanodjango project is a modification to the Django framework that lets you get started with a single file instead of the usual cookie...
View ArticlePyBites: Bridging the Skills Gap Across Africa with Pybites
When Bob and I first started Pybites, there was no way I could have imagined it’d grow to what it is today.Launching our first products was a massive moment for us both, not just because these were...
View ArticleIronPython-URLs: In memory: Michael Foord 1974-2025
I never met Michael in person, but we communicated online about all things Python. He was one of the most prolific contributors to this blog during the heyday of IronPython. If you use Python, chances...
View ArticlePyCharm: An Introduction to Django Views
Views are central to Django’s architecture pattern, and having a solid grasp of how to work with them is essential for any developer working with the framework. If you’re new to developing web apps...
View ArticleReal Python: Split Your Dataset With scikit-learn's train_test_split()
With train_test_split() from scikit-learn, you can efficiently divide your dataset into training and testing subsets to ensure unbiased model evaluation in machine learning. This process helps prevent...
View ArticlePyCon: The Hatchery Program at PyCon US 2025
We are pleased to announce the return of the Hatchery program in PyCon US 2025.What is the Hatchery program?This program offers the pathways for PyCon US attendees to introduce new tracks, activities,...
View ArticleArmin Ronacher: How I Use AI: Meet My Promptly Hired Model Intern
After Musk's acquisition of Twitter, many people I respect and follow moved to Bluesky. I created an account there and made an honest attempt of making it my primary platform. Sadly, I found Bluesky to...
View ArticlePyCharm
Hi, I’m a new Python Developer Advocate, focusing especially on web development. If you have any questions or want to share ideas around JetBrains products, most notably PyCharm, say hi at...
View ArticlePython⇒Speed: The surprising way to save memory with BytesIO
If you need a file-like object that stores bytes in memory in Python, chances are you you’re using Pytho’s built-in io.BytesIO(). And since you’re already using an in-memory object, if your data is big...
View ArticlePythonicity: Go iterators
Pythonic Go code.The long arc of language convergence continues. With generics and iterators, Go is significantly closer to Python’s reusability and expressiveness.Take the built-in function sum. Prior...
View ArticleTalk Python to Me: #492: Great Tables
Join me as I chat with Rich Iannone and Michael Chow from Posit where we explore the transformative power of data tables with the Great Tables library. We'll cover practical applications of Great...
View ArticleKushal Das: Pixelfed on Docker
I am running a Pixelfed instance for some time now at https://pixel.kushaldas.photography/kushal. This post contains quick setup instruction using docker/containers for the same.Copy over .env.docker...
View ArticleZero to Mastery: Python Monthly Newsletter 💻🐍
62nd issue of Andrei Neagoie's must-read monthly Python Newsletter: Python Web Security, Cognitive Load Is The Key, and much more. Read the full newsletter to get up-to-date with everything you need to...
View ArticleReal Python: The Real Python Podcast – Episode #237: Testing Your Python Code...
What goes into creating automated tests for your Python code? Should you focus on testing the individual code sections or on how the entire system runs? Christopher Trudeau is back on the show this...
View ArticleNed Batchelder: Intricate interleaved iteration
Someone asked recently, “is there any reason to use a generator if I need to store all the values anyway?” As it happens, I did just that in the code for this blog’s sidebar because I found it the most...
View ArticleSeth Michael Larson: Significant whitespace
There is power in what you refuse to type; creating significant whitespace.
View ArticleTest and Code: pytest-mock : Mocking in pytest
pytest-mock is currently the #3 pytest plugin. pytest-mock is a wrapper around unittest.mock.In this episode:Why the pytest-mock plugin is awesomeWhat is mocking, patching, and monkey patchingWhat, if...
View ArticlePython GUIs: Kivy's UX Widgets: A Quick Exploration — Learn the Basics of UX...
Widgets are elements of the graphical user interface (GUI) that provide an application functionality. From buttons and labels to more complex elements like checkboxes, sliders and canvases, widgets...
View Article