Real Python: How to Write Beautiful Python Code With PEP 8
Link: https://realpython.com/python-pep8/
PEP 8, sometimes spelled PEP8 or PEP-8, is the official style guide for Python code. PEP 8 gives guidelines on naming conventions, code layout, and other best practices. Guido van Rossum, Barry Warsaw
Link: https://realpython.com/python-pep8/
PEP 8, sometimes spelled PEP8 or PEP-8, is the official style guide for Python code. PEP 8 gives guidelines on naming conventions, code layout, and other best practices. Guido van Rossum, Barry Warsaw
Realpython
How to Write Beautiful Python Code With PEP 8 – Real Python
Learn how to write high-quality, readable code by using the Python style guidelines laid out in PEP 8. Following these guidelines helps you make a great impression when sharing your work with potential employers and collaborators.
Real Python: How to Get a List of All Files in a Directory With Python
Link: https://realpython.com/get-all-files-in-directory-python/
To get all the files in a directory with Python, you can leverage the pathlib module. This tutorial covers how to use methods like .iterdir(), .glob(), and .rglob() to list directory contents.
For a
Link: https://realpython.com/get-all-files-in-directory-python/
To get all the files in a directory with Python, you can leverage the pathlib module. This tutorial covers how to use methods like .iterdir(), .glob(), and .rglob() to list directory contents.
For a
Realpython
How to Get a List of All Files in a Directory With Python – Real 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…
Real Python: Variables in Python: Usage and Best Practices
Link: https://realpython.com/python-variables/
In Python, variables are symbolic names that refer to objects or values stored in your computer’s memory. They allow you to assign descriptive names to data, making it easier to manipulate and reuse v
Link: https://realpython.com/python-variables/
In Python, variables are symbolic names that refer to objects or values stored in your computer’s memory. They allow you to assign descriptive names to data, making it easier to manipulate and reuse v
Realpython
Variables in Python: Usage and Best Practices – Real Python
In this tutorial, you'll learn how to use symbolic names called variables to refer to Python objects, and gain an understanding of how to effectively use these fundamental building blocks in your code to store, manipulate, and retrieve data.
Real Python: Python's assert: Debug and Test Your Code Like a Pro
Link: https://realpython.com/python-assert-statement/
Python’s assert statement allows you to write sanity checks in your code. These checks are known as assertions, and you can use them to test if certain assumptions remain true while you’re developing
Link: https://realpython.com/python-assert-statement/
Python’s assert statement allows you to write sanity checks in your code. These checks are known as assertions, and you can use them to test if certain assumptions remain true while you’re developing
Realpython
Python's assert: Debug and Test Your Code Like a Pro – Real Python
In this tutorial, you'll learn how to use Python's assert statement to document, debug, and test code in development. You'll learn how assertions might be disabled in production code, so you shouldn't use them to validate data. You'll also learn about a few…
Zato Blog: Understanding API rate-limiting techniques
Link: https://zato.io/en/blog/api-rate-limiting-intro.html
Understanding API rate-limiting techniques
2025-01-13, by Dariusz Suchojad
Enabling rate-limiting in Zato means that access to Zato APIs can be throttled per endpoint, user or service - includi
Link: https://zato.io/en/blog/api-rate-limiting-intro.html
Understanding API rate-limiting techniques
2025-01-13, by Dariusz Suchojad
Enabling rate-limiting in Zato means that access to Zato APIs can be throttled per endpoint, user or service - includi
Real Python: Build a Personal Diary With Django and Python
Link: https://realpython.com/django-diary-project-python/
Creating a Django diary allows you to build a personal, secure web app on your computer without using external cloud services. This tutorial guides you through setting up a Django project, where you c
Link: https://realpython.com/django-diary-project-python/
Creating a Django diary allows you to build a personal, secure web app on your computer without using external cloud services. This tutorial guides you through setting up a Django project, where you c
Realpython
Build a Personal Diary With Django and Python – Real Python
In this beginner-friendly tutorial, you'll build a personal diary in Django. You'll use the strengths of the Django web framework and learn the basics of web apps.
Python Bytes: #416 A Ghostly Episode
Link: https://pythonbytes.fm/episodes/show/416/a-ghostly-episode
<strong>Topics covered in this episode:</strong><br>
<ul>
<li><strong>Terminals & Shells</strong></li>
<li><strong><a href="https://github.com/Vizonex/Winloop?featured_on=pythonbytes">Winloop</a
Link: https://pythonbytes.fm/episodes/show/416/a-ghostly-episode
<strong>Topics covered in this episode:</strong><br>
<ul>
<li><strong>Terminals & Shells</strong></li>
<li><strong><a href="https://github.com/Vizonex/Winloop?featured_on=pythonbytes">Winloop</a
pythonbytes.fm
A Ghostly Episode
News and announcements from the Python community for the week of Jan 13th, 2025
Eli Bendersky: Reverse mode Automatic Differentiation
Link: https://eli.thegreenplace.net/2025/reverse-mode-automatic-differentiation/
Automatic Differentiation (AD) is an important algorithm for calculating the
derivatives of arbitrary functions that can be expressed by a computer program.
One of my favorite CS papers is
"Automatic
Link: https://eli.thegreenplace.net/2025/reverse-mode-automatic-differentiation/
Automatic Differentiation (AD) is an important algorithm for calculating the
derivatives of arbitrary functions that can be expressed by a computer program.
One of my favorite CS papers is
"Automatic
Python Software Foundation: Powering Python together in 2025, thanks to our community!
Link: https://pyfound.blogspot.com/2025/01/powering-python-together-in-2025-thanks.html
We are so very grateful for each of you who donated or became new members during our end-of-year fundraiser and membership drive. We raised $30,000 through the PyCharm promotion offered by JetBrains–
Link: https://pyfound.blogspot.com/2025/01/powering-python-together-in-2025-thanks.html
We are so very grateful for each of you who donated or became new members during our end-of-year fundraiser and membership drive. We raised $30,000 through the PyCharm promotion offered by JetBrains–
Python Software Foundation Blog
Powering Python together in 2025, thanks to our community!
We are so very grateful for each of you who donated or became new members during our end-of-year fundraiser and membership drive. We raised ...
Django Weblog: Django security releases issued: 5.1.5, 5.0.11, and 4.2.18
Link: https://www.djangoproject.com/weblog/2025/jan/14/security-releases/
In accordance with our security release policy, the Django team
is issuing releases for
Django 5.1.5,
Django 5.0.11, and
Django 4.2.18.
These releases address the security issues detailed below. We en
Link: https://www.djangoproject.com/weblog/2025/jan/14/security-releases/
In accordance with our security release policy, the Django team
is issuing releases for
Django 5.1.5,
Django 5.0.11, and
Django 4.2.18.
These releases address the security issues detailed below. We en
Django Project
Django security releases issued: 5.1.5, 5.0.11, and 4.2.18
Posted by Natalia Bidart on Jan. 14, 2025
Real Python: Building Dictionary Comprehensions in Python
Link: https://realpython.com/courses/building-dictionary-comprehensions/
Dictionary comprehensions are a concise and quick way to create, transform, and filter dictionaries in Python. They can significantly enhance your code’s conciseness and readability compared to using
Link: https://realpython.com/courses/building-dictionary-comprehensions/
Dictionary comprehensions are a concise and quick way to create, transform, and filter dictionaries in Python. They can significantly enhance your code’s conciseness and readability compared to using
Realpython
Building Dictionary Comprehensions in Python – Real Python
In this video course, you'll learn how to write dictionary comprehensions in Python. You'll also explore the most common use cases for dictionary comprehensions and learn about some bad practices that you should avoid when using them in your code.
Daniel Roy Greenfeld: TIL: Using inspect and timeit together
Link: https://daniel.feldroy.com/posts/til-2025-01-timeit-and-inspect
Two libraries in Python's standard library that are useful for keeping load testing code all in one module.
Link: https://daniel.feldroy.com/posts/til-2025-01-timeit-and-inspect
Two libraries in Python's standard library that are useful for keeping load testing code all in one module.
https://daniel.feldroy.com
TIL: Using inspect and timeit together
Two libraries in Python's standard library that are useful for keeping load testing code all in one module.
Python Morsels: Python's range() function
Link: https://www.pythonmorsels.com/range/
The range function can be used for counting upward, countdown downward, or performing an operation a number of times.
Table of contents
Counting upwards in Python
Using range with a step value
Cou
Link: https://www.pythonmorsels.com/range/
The range function can be used for counting upward, countdown downward, or performing an operation a number of times.
Table of contents
Counting upwards in Python
Using range with a step value
Cou
Pythonmorsels
Python's range() function
The range function can be used for counting upward, countdown downward, or performing an operation a number of times.
Python⇒Speed: Catching memory leaks with your test suite
Link: https://pythonspeed.com/articles/identifying-resource-leaks-with-pytest/
Resource leaks are an unpleasant type of bug.
Little by little your program uses more memory, or more file descriptors, or some other limited resource.
Everything seems fine—until you run, and now you
Link: https://pythonspeed.com/articles/identifying-resource-leaks-with-pytest/
Resource leaks are an unpleasant type of bug.
Little by little your program uses more memory, or more file descriptors, or some other limited resource.
Everything seems fine—until you run, and now you
Python⇒Speed
Catching memory leaks with your test suite
If you have a good test suite, you may be able use pytest fixtures to identify memory and other resource leaks.
Python Insider: Python 3.14.0 alpha 4 is out
Link: https://pythoninsider.blogspot.com/2025/01/python-3140-alpha-4-is-out.html
Hello, three dot fourteen dot zero alpha four!
https://www.python.org/downloads/release/python-3140a4/
This is an early developer preview of Python
3.14
Major
new features of the 3.14 series, compared
Link: https://pythoninsider.blogspot.com/2025/01/python-3140-alpha-4-is-out.html
Hello, three dot fourteen dot zero alpha four!
https://www.python.org/downloads/release/python-3140a4/
This is an early developer preview of Python
3.14
Major
new features of the 3.14 series, compared
Blogspot
Python Insider: Python 3.14.0 alpha 4 is out
PyCoder’s Weekly: Issue #664: Django vs FastAPI, Interacting With Python, Data Cleaning, and More (Jan. 14, 2025)
Link: https://pycoders.com/issues/664
#664 – JANUARY 14, 2025 View in Browser » Django vs. FastAPI, an Honest Comparison David has worked with Django for a long time, but recently has done some deeper coding with FastAPI. As a resul
Link: https://pycoders.com/issues/664
#664 – JANUARY 14, 2025 View in Browser » Django vs. FastAPI, an Honest Comparison David has worked with Django for a long time, but recently has done some deeper coding with FastAPI. As a resul
Pycoders
PyCoder’s Weekly | Issue #664
Issue #664 of the PyCoder’s Weekly newsletter, published Jan. 14, 2025.
Peter Bengtsson: How I run standalone Python in 2025
Link: http://www.peterbe.com/plog/run-standalone-python-2025
`uv run --python 3.12 --with requests python $@` to quickly start a Python interpreter with the `requests` package installed without creating a whole project.
Link: http://www.peterbe.com/plog/run-standalone-python-2025
`uv run --python 3.12 --with requests python $@` to quickly start a Python interpreter with the `requests` package installed without creating a whole project.
Peterbe
How I run standalone Python in 2025 - Peterbe.com
`uv run --python 3.12 --with requests python $@` to quickly start a Python interpreter with the `requests` package installed without creating a whole project.
Mike Driscoll: Textual – Switching Screens in Your Terminal
Link: https://www.blog.pythonlibrary.org/2025/01/14/textual-switching-screens-in-your-terminal/
The Screen is a container for your widgets. These screens occupy the dimensions of your terminal by default. While you can have many different screens in a single application, only one screen may be a
Link: https://www.blog.pythonlibrary.org/2025/01/14/textual-switching-screens-in-your-terminal/
The Screen is a container for your widgets. These screens occupy the dimensions of your terminal by default. While you can have many different screens in a single application, only one screen may be a
Mouse Vs Python
Textual - Switching Screens in Your Terminal - Mouse Vs Python
The Screen is a container for your widgets. These screens occupy the dimensions of your terminal by default. While you can have many different screens in
Glyph Lefkowitz: Small PINPal Update
Link: https://blog.glyph.im/2025/01/small-pinpal-update.html
Today on stream, I updated
PINPal to fix the memorization algorithm.
If you haven’t heard of PINPal before, it is a vault password memorization
tool. For more detail on what that means, you can check
Link: https://blog.glyph.im/2025/01/small-pinpal-update.html
Today on stream, I updated
PINPal to fix the memorization algorithm.
If you haven’t heard of PINPal before, it is a vault password memorization
tool. For more detail on what that means, you can check
blog.glyph.im
Small PINPal Update
I made a new release of PINPal today and that made me want to remind you all about it.
Real Python: How to Replace a String in Python
Link: https://realpython.com/replace-string-python/
Replacing strings in Python is a fundamental skill. You can use the .replace() method for straightforward replacements, while re.sub() allows for more advanced pattern matching and replacement. Both o
Link: https://realpython.com/replace-string-python/
Replacing strings in Python is a fundamental skill. You can use the .replace() method for straightforward replacements, while re.sub() allows for more advanced pattern matching and replacement. Both o
Realpython
How to Replace a String in Python – Real Python
In this tutorial, you'll learn how to remove or replace a string or substring. You'll go from the basic string method .replace() all the way up to a multi-layer regex pattern using the sub() function from Python's re module.