Glyph Lefkowitz: Telemetry Is Not Your Enemy
Link: https://blog.glyph.im/2023/03/telemetry-is-not-your-enemy.html
Part 1: A Tale of Two Metaphors
In software development
“telemetry” is data
collected from users of the software, almost always delivered to the authors of
the software via the Internet.
In recent yea
Link: https://blog.glyph.im/2023/03/telemetry-is-not-your-enemy.html
Part 1: A Tale of Two Metaphors
In software development
“telemetry” is data
collected from users of the software, almost always delivered to the authors of
the software via the Internet.
In recent yea
blog.glyph.im
Telemetry Is Not Your Enemy
Not all data collection is the same, and not all of it is bad.
Kay Hayen: Nuitka Release 1.5
Link: https://nuitka.net/posts/nuitka-release-15.html
This is to inform you about the new stable release of Nuitka. It is the extremely compatible Python compiler,
“download now”.
This release contains the long awaited 3.11 support, even if only on an
ex
Link: https://nuitka.net/posts/nuitka-release-15.html
This is to inform you about the new stable release of Nuitka. It is the extremely compatible Python compiler,
“download now”.
This release contains the long awaited 3.11 support, even if only on an
ex
Michał Bultrowicz: Separating different kinds of tests
Link: https://bultrowicz.com/separating_kinds_of_tests/
When I work on a project I differentiate three kinds of tests: unit, integrated, and external.
In this post I’ll explain how I think about them.
Link: https://bultrowicz.com/separating_kinds_of_tests/
When I work on a project I differentiate three kinds of tests: unit, integrated, and external.
In this post I’ll explain how I think about them.
Mike Driscoll: PyDev of the Week: Kevin Kho
Link: https://www.blog.pythonlibrary.org/2023/03/27/pydev-of-the-week-kevin-kho/
This week we welcome Kevin Kho as our PyDev of the Week! Kevin is a core developer on the Fugue package. You can catch up with Kevin on Medium where Kevin writes about Fugue, Python, and more. You can
Link: https://www.blog.pythonlibrary.org/2023/03/27/pydev-of-the-week-kevin-kho/
This week we welcome Kevin Kho as our PyDev of the Week! Kevin is a core developer on the Fugue package. You can catch up with Kevin on Medium where Kevin writes about Fugue, Python, and more. You can
Mouse Vs Python
PyDev of the Week: Kevin Kho - Mouse Vs Python
This week we welcome Kevin Kho as our PyDev of the Week! Kevin is a core developer on the Fugue package. You can catch up with Kevin on Medium where Kevin
Python for Beginners: Convert INI File to Dictionary in Python
Link: https://www.pythonforbeginners.com/basics/convert-ini-file-to-dictionary-in-python
INI files are one of the simplest configuration files that we use in software systems. In this article, we will discuss how to convert an INI file to a python dictionary.
Table of ContentsWhat is the
Link: https://www.pythonforbeginners.com/basics/convert-ini-file-to-dictionary-in-python
INI files are one of the simplest configuration files that we use in software systems. In this article, we will discuss how to convert an INI file to a python dictionary.
Table of ContentsWhat is the
PythonForBeginners.com
Convert INI File to Dictionary in Python - PythonForBeginners.com
Convert INI File to Dictionary in Python will help you improve your python skills with easy to follow examples and tutorials.
Real Python: How to Read Python Input as Integers
Link: https://realpython.com/python-input-integer/
If you’ve ever coded an interactive text-based application in Python, then you’ve probably found that you need a reliable way of asking the user for integers as input. It’s not enough simply to displa
Link: https://realpython.com/python-input-integer/
If you’ve ever coded an interactive text-based application in Python, then you’ve probably found that you need a reliable way of asking the user for integers as input. It’s not enough simply to displa
Realpython
How to Read Python Input as Integers – Real Python
In this tutorial, you'll learn how to use Python to get integer input from the user while handling any errors resulting from non-numeric input. This will involve coding your own reusable function built around input().
Python Morsels: Implementing slicing
Link: https://www.pythonmorsels.com/implementing-slicing/
You can make Python objects support slicing by implementing a __getitem__ method that accepts slice objects.
Table of contents
Indexing relies on __getitem__, but so does slicing!
Slicing uses sli
Link: https://www.pythonmorsels.com/implementing-slicing/
You can make Python objects support slicing by implementing a __getitem__ method that accepts slice objects.
Table of contents
Indexing relies on __getitem__, but so does slicing!
Slicing uses sli
Pythonmorsels
Implementing slicing
You can make Python objects support slicing by implementing a __getitem__ method that accepts slice objects.
death and gravity: Limiting concurrency in Python asyncio – the story of async imap_unordered()
Link: https://death.andgravity.com/limit-concurrency
So, you're doing some async stuff, repeatedly, many times.
Like, hundreds of thousands of times.
Maybe you're scraping some data.
Maybe it's more complicated
– you're calling an API,
and then passing
Link: https://death.andgravity.com/limit-concurrency
So, you're doing some async stuff, repeatedly, many times.
Like, hundreds of thousands of times.
Maybe you're scraping some data.
Maybe it's more complicated
– you're calling an API,
and then passing
death and gravity
Limiting concurrency in Python asyncio: the story of async imap_unordered()
So, you're doing some async stuff, repeatedly, hundreds of thousands of times. How do you *not* do it all at once? Hint: asyncio.Semaphore is not always the best way, despite what Stack Overflow may tell you ;)
Brett Cannon: Unravelling `global`
Link: https://snarky.ca/unravelling-global/
While preparing my talk for PyCascades 2023 on this very blog post series of Python&aposs syntactic sugar, I had an inkling that I could unravel the global statement. After talking to some folks after
Link: https://snarky.ca/unravelling-global/
While preparing my talk for PyCascades 2023 on this very blog post series of Python&aposs syntactic sugar, I had an inkling that I could unravel the global statement. After talking to some folks after
Tall, Snarky Canadian
Unravelling `global`
While preparing my talk for PyCascades 2023 on this very blog post series of Python's syntactic sugar, I had an inkling that I could unravel the global statement. After talking to some folks after my talk, I realized that I could, in fact, unravel it! The…
Lucas Cimon: __slots__ memory optimization in Python
Link: https://chezsoi.org/lucas/blog/slots-memory-optimizations-in-python.html
Illustration from realpython.com
The other day, while working on fpdf2,
I used @dataclass,
a nice decorator that came in the standard library with Python 3.7,
to quickly define a class that most
Link: https://chezsoi.org/lucas/blog/slots-memory-optimizations-in-python.html
Illustration from realpython.com
The other day, while working on fpdf2,
I used @dataclass,
a nice decorator that came in the standard library with Python 3.7,
to quickly define a class that most
Ludochaordic
__slots__ memory optimization in python
Illustration from realpython.com The other day, while working on fpdf2, I used @dataclass, a nice decorator that came in the standard library with Python 3.7, to quickly define a class that mostly stored data. Then a question came to my mind: is the __slots__…
Mike Driscoll: An Intro to Textual – Creating Text User Interfaces with Python
Link: https://www.blog.pythonlibrary.org/2023/03/28/an-intro-to-textual/
Textual is a Python package used to create cross-platform Text User Interfaces (TUI). This may sound like you’ll be creating a user interface with ASCII-art, but that is not the case.
Textual is quite
Link: https://www.blog.pythonlibrary.org/2023/03/28/an-intro-to-textual/
Textual is a Python package used to create cross-platform Text User Interfaces (TUI). This may sound like you’ll be creating a user interface with ASCII-art, but that is not the case.
Textual is quite
Mouse Vs Python
An Intro to Textual - Creating Text User Interfaces with Python - Mouse Vs Python
Textual is a Python package used to create cross-platform Text User Interfaces (TUI). This may sound like you'll be creating a user interface with
Real Python: YAML: Python's Missing Battery
Link: https://realpython.com/courses/yaml-python/
Python is often marketed as a batteries-included language because it comes with almost everything you’d ever expect from a programming language. This statement is mostly true, as the standard library
Link: https://realpython.com/courses/yaml-python/
Python is often marketed as a batteries-included language because it comes with almost everything you’d ever expect from a programming language. This statement is mostly true, as the standard library
Realpython
YAML: Python's Missing Battery – Real Python
In this video course, you'll learn about working with YAML in Python. By the end of it, you'll know about the available libraries, their strengths and weaknesses, and the advanced and potentially dangerous features of YAML.
Stack Abuse: Rounding Decimals in Python
Link: https://stackabuse.com/rounding-decimals-in-python/
Introduction
Whether you're working with financial data, scientific calculations, or any other type of data that requires precise decimal arithmetic, knowing how to round decimal numbers accurately ca
Link: https://stackabuse.com/rounding-decimals-in-python/
Introduction
Whether you're working with financial data, scientific calculations, or any other type of data that requires precise decimal arithmetic, knowing how to round decimal numbers accurately ca
Stack Abuse
Rounding Decimals in Python
Whether you're working with financial data, scientific calculations, or any other type of data that requires precise decimal arithmetic, knowing how to round d...
PyCoder’s Weekly: Issue #570 (March 28, 2023)
Link: https://pycoders.com/issues/570
#570 – MARCH 28, 2023 View in Browser » Lessons Learned From Four Years Programming With Python What are the core lessons you’ve learned along your Python development journey? What are key takea
Link: https://pycoders.com/issues/570
#570 – MARCH 28, 2023 View in Browser » Lessons Learned From Four Years Programming With Python What are the core lessons you’ve learned along your Python development journey? What are key takea
Pycoders
PyCoder’s Weekly | Issue #570
Issue #570 of the PyCoder’s Weekly newsletter, published March 28, 2023.
The Python Coding Blog: What’s a Python Iterable? [Python Data Structure Series #1]
Link: https://thepythoncodingbook.com/2023/03/28/whats-a-python-iterable-python-data-structure-series-1/
You’re familiar with data structures such as lists, dictionaries, tuples, sets, and more. You may even know about the similarities and differences between their behaviours. But how comfortable are you
Link: https://thepythoncodingbook.com/2023/03/28/whats-a-python-iterable-python-data-structure-series-1/
You’re familiar with data structures such as lists, dictionaries, tuples, sets, and more. You may even know about the similarities and differences between their behaviours. But how comfortable are you
The Python Coding Book
What's a Python Iterable? [Python Data Structure Series #1]
In this first article in the Python Data Structures Series we look at Python Iterables — what are they and what are their characteristics
Brett Cannon: Unravelling `del`
Link: https://snarky.ca/unravelling-del/
In my post on unravelling the global statement, I mentioned how after my PyCascades 2023 talk some people came up to me about a couple of pieces of Python syntax that I had not managed to unravel. Bey
Link: https://snarky.ca/unravelling-del/
In my post on unravelling the global statement, I mentioned how after my PyCascades 2023 talk some people came up to me about a couple of pieces of Python syntax that I had not managed to unravel. Bey
Tall, Snarky Canadian
Unravelling `del`
In my post on unravelling the global statement, I mentioned how after my PyCascades 2023 talk some people came up to me about a couple of pieces of Python syntax that I had not managed to unravel. Beyond global, people thought I should be able to get rid…
Brett Cannon: MVPy: Minimum Viable Python
Link: https://snarky.ca/mvpy-minimum-viable-python/
Over 32 posts spanning well over 2 years, this is the final post in my blog series on Python&aposs syntactic sugar. I had set out to find all of the Python 3.8 syntax that could be rewritten if you we
Link: https://snarky.ca/mvpy-minimum-viable-python/
Over 32 posts spanning well over 2 years, this is the final post in my blog series on Python&aposs syntactic sugar. I had set out to find all of the Python 3.8 syntax that could be rewritten if you we
Tall, Snarky Canadian
MVPy: Minimum Viable Python
Over 32 posts spanning well over 2 years, this is the final post in my blog series on Python's syntactic sugar. I had set out to find all of the Python 3.8 syntax that could be rewritten if you were to run a tool over a single Python source
Stack Abuse: Parsing URLs with Python
Link: https://stackabuse.com/parsing-urls-with-python/
Introduction
URLs are, no doubt, an important part of the internet, as it allows us to access resources and navigate websites. If the internet was one giant graph (which it is), URLs would be the edge
Link: https://stackabuse.com/parsing-urls-with-python/
Introduction
URLs are, no doubt, an important part of the internet, as it allows us to access resources and navigate websites. If the internet was one giant graph (which it is), URLs would be the edge
Python Morsels: Using "any" and "all" in Python
Link: https://www.pythonmorsels.com/any-and-all/
Need to check whether all items in a list match a certain condition? You can use Python's built-in any and all functions for that!
Table of contents
Checking a condition for all items
Using the any
Link: https://www.pythonmorsels.com/any-and-all/
Need to check whether all items in a list match a certain condition? You can use Python's built-in any and all functions for that!
Table of contents
Checking a condition for all items
Using the any
Pythonmorsels
Python's any() and all() functions
Need to check whether all items in a list match a certain condition? You can use Python's built-in any and all functions for that!
Real Python: Build a Maze Solver in Python Using Graphs
Link: https://realpython.com/python-maze-solver/
If you’re up for a little challenge and would like to take your programming skills to the next level, then you’ve come to the right place! In this hands-on tutorial, you’ll practice object-oriented pr
Link: https://realpython.com/python-maze-solver/
If you’re up for a little challenge and would like to take your programming skills to the next level, then you’ve come to the right place! In this hands-on tutorial, you’ll practice object-oriented pr
Realpython
Build a Maze Solver in Python Using Graphs – Real Python
In this step-by-step project, you'll build a maze solver in Python using graph algorithms from the NetworkX library. Along the way, you'll design a binary file format for the maze, represent it in an object-oriented way, and visualize the solution using scalable…
Ben Cook: Understanding the Data Science Process for Entrepreneurs
Link: https://sparrow.dev/understanding-the-data-science-process-for-entrepreneurs/
As an entrepreneur looking to harness the power of machine learning (ML) in your business, understanding the data science process is crucial. This process can be broken down into three main steps:
Pr
Link: https://sparrow.dev/understanding-the-data-science-process-for-entrepreneurs/
As an entrepreneur looking to harness the power of machine learning (ML) in your business, understanding the data science process is crucial. This process can be broken down into three main steps:
Pr
Sparrow Computing
Understanding the Data Science Process for Entrepreneurs - Sparrow Computing
As an entrepreneur looking to harness the power of machine learning (ML) in your business, understanding the data science process is crucial. This process can be broken down into three main steps: The goal is to move through these stages as quickly as possible…