Mike Driscoll: PyDev of the Week: Leonardo Giordani
Link: https://www.blog.pythonlibrary.org/2022/02/21/pydev-of-the-week-leonardo-giordani/
This week we welcome Leonardo Giordani (@tw_lgiordani) as our PyDev of the Week! Leonardo is the author of Clean Architectures in Python. Leonardo also writes lots of articles on his website.
PyCon UK
Link: https://www.blog.pythonlibrary.org/2022/02/21/pydev-of-the-week-leonardo-giordani/
This week we welcome Leonardo Giordani (@tw_lgiordani) as our PyDev of the Week! Leonardo is the author of Clean Architectures in Python. Leonardo also writes lots of articles on his website.
PyCon UK
Mouse Vs Python
PyDev of the Week: Leonardo Giordani - Mouse Vs Python
This week we welcome Leonardo Giordani (@tw_lgiordani) as our PyDev of the Week! Leonardo is the author of Clean Architectures in Python. Leonardo also
Test and Code: 180: Lean TDD
Link: https://testandcode.com/180
Lean TDD is an attempt to reconcile some conflicting aspects of Test Driven Development and Lean Software Development.
I've mentioned Lean TDD on the podcast a few times and even tried to do a quick o
Link: https://testandcode.com/180
Lean TDD is an attempt to reconcile some conflicting aspects of Test Driven Development and Lean Software Development.
I've mentioned Lean TDD on the podcast a few times and even tried to do a quick o
Test & Code in Python
Test & Code in Python 180: Lean TDD
Lean TDD is an attempt to reconcile some conflicting aspects of Test Driven Development and Lean Software Development.
ItsMyCode: [Solved] Error in plot.new() : figure margins too large
Link: https://itsmycode.com/solved-error-in-plot-new-figure-margins-too-large/
The error in plot.new() : figure margins too large occur if the plot panel in the RStudio is too small for the margins you are trying to create.
In this tutorial, we will learn how to resolve error in
Link: https://itsmycode.com/solved-error-in-plot-new-figure-margins-too-large/
The error in plot.new() : figure margins too large occur if the plot panel in the RStudio is too small for the margins you are trying to create.
In this tutorial, we will learn how to resolve error in
ItsMyCode
[Solved] Error in plot.new() : figure margins too large - ItsMyCode
The error in plot.new() : figure margins too large occur if the plot panel in the RStudio is too small for the margins you are trying to create.
Real Python: Socket Programming in Python (Guide)
Link: https://realpython.com/python-sockets/
Sockets and the socket API are used to send messages across a network. They provide a form of inter-process communication (IPC). The network can be a logical, local network to the computer, or one tha
Link: https://realpython.com/python-sockets/
Sockets and the socket API are used to send messages across a network. They provide a form of inter-process communication (IPC). The network can be a logical, local network to the computer, or one tha
Realpython
Socket Programming in Python (Guide) – Real Python
In this in-depth tutorial, you'll learn how to build a socket server and client with Python. By the end of this tutorial, you'll understand how to use the main functions and methods in Python's socket module to write your own networked client-server applications.
Kay Hayen: Nuitka Release 0.7
Link: https://nuitka.net/posts/nuitka-release-07.html
This is to inform you about the new stable release of Nuitka. It is the extremely compatible Python compiler,
“download now”.
This release is massively improving macOS support, esp. for M1 and the
lat
Link: https://nuitka.net/posts/nuitka-release-07.html
This is to inform you about the new stable release of Nuitka. It is the extremely compatible Python compiler,
“download now”.
This release is massively improving macOS support, esp. for M1 and the
lat
ItsMyCode: [Solved] ImportError: cannot import name ‘json’ from itsdangerous
Link: https://itsmycode.com/importerror-cannot-import-name-json-from-itsdangerous/
If you are deploying and running the flask application(1.1.2) using the Docker containers, you will get ImportError: cannot import name ‘json’ from itsdangerous
In this article, we will look at what i
Link: https://itsmycode.com/importerror-cannot-import-name-json-from-itsdangerous/
If you are deploying and running the flask application(1.1.2) using the Docker containers, you will get ImportError: cannot import name ‘json’ from itsdangerous
In this article, we will look at what i
ItsMyCode
[Solved] ImportError: cannot import name 'json' from itsdangerous - ItsMyCode
The ImportError: cannot import name 'json' from itsdangerous can be fixed by downgrading the itsdangerous and markupsafe libraries to 2.0.1
Talk Python to Me: #353: SQLModel: The New ORM for FastAPI and Beyond
Link: https://talkpython.fm/episodes/show/353/sqlmodel-the-new-orm-for-fastapi-and-beyond
Two frameworks that have taken the Python world by storm are FastAPI and Pydantic. Once you already have your data exchange modeled in Pydantic, you might want to use that code for storing it in the d
Link: https://talkpython.fm/episodes/show/353/sqlmodel-the-new-orm-for-fastapi-and-beyond
Two frameworks that have taken the Python world by storm are FastAPI and Pydantic. Once you already have your data exchange modeled in Pydantic, you might want to use that code for storing it in the d
talkpython.fm
SQLModel: The New ORM for FastAPI and Beyond
Two frameworks that have taken the Python world by storm are FastAPI and Pydantic. Once you already have your data exchange modeled in Pydantic, you might want to use that code for storing it in the database. And, if you have DB models you might want to somehow…
Real Python: Starting With Linear Regression in Python
Link: https://realpython.com/courses/python-linear-regression/
We’re living in the era of large amounts of data, powerful computers, and artificial intelligence. This is just the beginning. Data science and machine learning are driving image recognition, autonomo
Link: https://realpython.com/courses/python-linear-regression/
We’re living in the era of large amounts of data, powerful computers, and artificial intelligence. This is just the beginning. Data science and machine learning are driving image recognition, autonomo
Realpython
Starting With Linear Regression in Python – Real Python
In this video course, you'll get started with linear regression in Python. Linear regression is one of the fundamental statistical and machine learning techniques, and Python is a popular choice for machine learning.
Python for Beginners: Terminate a Program in Python
Link: https://www.pythonforbeginners.com/basics/terminate-a-program-in-python
While writing a program in python, you might need to end a program on several occasions after a condition is met. In this article, we will discuss different ways to terminate a program in python.
Term
Link: https://www.pythonforbeginners.com/basics/terminate-a-program-in-python
While writing a program in python, you might need to end a program on several occasions after a condition is met. In this article, we will discuss different ways to terminate a program in python.
Term
PythonForBeginners.com
Terminate a Program in Python - PythonForBeginners.com
Terminate a Program in Python will help you improve your python skills with easy to follow examples and tutorials.
Made With Mu: Announcing a new stable release: 1.1.1
Link: https://madewith.mu/mu/users/2022/02/22/mu-1-1-1.html
At last, after what feels like a huge amount of time and effort, we’re
delighted to release a new stable release of Mu.
Huge thanks to the many many contributors who volunteered their time to help
mak
Link: https://madewith.mu/mu/users/2022/02/22/mu-1-1-1.html
At last, after what feels like a huge amount of time and effort, we’re
delighted to release a new stable release of Mu.
Huge thanks to the many many contributors who volunteered their time to help
mak
Made With Mu
Announcing a new stable release: 1.1.1
At last, after what feels like a huge amount of time and effort, we’re delighted to release a new stable release of Mu.
PyCoder’s Weekly: Issue #513 (Feb. 22, 2022)
Link: https://pycoders.com/issues/513
#513 – FEBRUARY 22, 2022 View in Browser » How We Optimized Python API Server Code 100x Tricks we used to speed up calls to our analytical API written in Python: asyncio, SQLAlchemy, asyncpg, Cy
Link: https://pycoders.com/issues/513
#513 – FEBRUARY 22, 2022 View in Browser » How We Optimized Python API Server Code 100x Tricks we used to speed up calls to our analytical API written in Python: asyncio, SQLAlchemy, asyncpg, Cy
Pycoders
PyCoder’s Weekly | Issue #513
Issue #513 of the PyCoder’s Weekly newsletter, published Feb. 22, 2022.
death and gravity: yaml: could not determine a constructor for the tag
Link: https://death.andgravity.com/yaml-unknown-tag
So you're trying to read some YAML using PyYAML,
and get an exception like this:
>>> yaml.safe_load("!!python/tuple [0,0]")
Traceback (most recent call last):
...
yaml.constructor.ConstructorError:
Link: https://death.andgravity.com/yaml-unknown-tag
So you're trying to read some YAML using PyYAML,
and get an exception like this:
>>> yaml.safe_load("!!python/tuple [0,0]")
Traceback (most recent call last):
...
yaml.constructor.ConstructorError:
death and gravity
yaml: could not determine a constructor for the tag
... in which you'll find out what "could not determine a constructor for the tag" PyYAML errors mean, why do they happen, and what you can do about it.
Daniel Roy Greenfeld: Sendowl Consolidation Script
Link: https://daniel.feldroy.com/posts/2022-02-sendowl-consolidation-script
As self-published authors, Audrey and I use the awesome sendowl service to distribute our digital files. We had multiple storefronts accounts for different countries but now we only need one. This is
Link: https://daniel.feldroy.com/posts/2022-02-sendowl-consolidation-script
As self-published authors, Audrey and I use the awesome sendowl service to distribute our digital files. We had multiple storefronts accounts for different countries but now we only need one. This is
Daniel Roy Greenfeld
Sendowl Consolidation Script
Unifying our sendowl accounts into one
Python for Beginners: Number of Lines in a File in Python
Link: https://www.pythonforbeginners.com/basics/number-of-lines-in-a-file-in-python
File handling is one of the most critical operations in programming. Sometimes, we may need to count the number of lines in a file to perform any operation on it. In this article, we will see how we c
Link: https://www.pythonforbeginners.com/basics/number-of-lines-in-a-file-in-python
File handling is one of the most critical operations in programming. Sometimes, we may need to count the number of lines in a file to perform any operation on it. In this article, we will see how we c
PythonForBeginners.com
Number of Lines in a File in Python - PythonForBeginners.com
Number of Lines in a File in Python will help you improve your python skills with easy to follow examples and tutorials.
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…
Anwesha Das: Enabling IPv6 in the virtual machines on the Fedora 35
Link: http://anweshadas.in/enabling-ipv6-in-the-virtual-machines-on-the-fedora-35/
On Fedora when we create a Virtual Machine (via libvirt) we get an IPv4 address (NAT). But for my experiment I wanted a NATed IPv6 address. With the following steps one can get NATed IPV6 address on
Link: http://anweshadas.in/enabling-ipv6-in-the-virtual-machines-on-the-fedora-35/
On Fedora when we create a Virtual Machine (via libvirt) we get an IPv4 address (NAT). But for my experiment I wanted a NATed IPv6 address. With the following steps one can get NATed IPV6 address on
Law Explained India
Enabling IPv6 in the virtual machines on the Fedora 35
On Fedora when we create a Virtual Machine (via libvirt) we get an IPv4 address (NAT). But for my experiment I wanted a NATed IPv6 address. With the following steps one can get NATed IPV6 address on VMs. On the host First, stop the default network and edit…
Python for Beginners: Select Random Element from A List in Python
Link: https://www.pythonforbeginners.com/basics/select-random-element-from-a-list-in-python
While programming in python, we may need to select a random element from a list in several situations. In this article, we will discuss different ways to select an element from a list in python.
Selec
Link: https://www.pythonforbeginners.com/basics/select-random-element-from-a-list-in-python
While programming in python, we may need to select a random element from a list in several situations. In this article, we will discuss different ways to select an element from a list in python.
Selec
PythonForBeginners.com
Select Random Element from A List in Python - PythonForBeginners.com
Select Random Element from A List in Python will help you improve your python skills with easy to follow examples and tutorials.
Python Bytes: #272 The tools episode
Link: https://pythonbytes.fm/episodes/show/272/the-tools-episode
<p><strong>Watch the live stream:</strong></p>
<a href='https://www.youtube.com/watch?v=8HKliSbA-gQ' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>
<p><strong>About the show</strong></p>
Link: https://pythonbytes.fm/episodes/show/272/the-tools-episode
<p><strong>Watch the live stream:</strong></p>
<a href='https://www.youtube.com/watch?v=8HKliSbA-gQ' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>
<p><strong>About the show</strong></p>
pythonbytes.fm
The tools episode
News and announcements from the Python community for the week of Feb 24th, 2022
Talk Python to Me: #354: Sphinx, MyST, and Python Docs in 2022
Link: https://talkpython.fm/episodes/show/354/sphinx-myst-and-python-docs-in-2022
When you think about the power of Python, the clean language or powerful standard library may come to mind. You might certainly point to the external packages too. But what about the relative ease of
Link: https://talkpython.fm/episodes/show/354/sphinx-myst-and-python-docs-in-2022
When you think about the power of Python, the clean language or powerful standard library may come to mind. You might certainly point to the external packages too. But what about the relative ease of
talkpython.fm
Sphinx, MyST, and Python Docs in 2022
When you think about the power of Python, the clean language or powerful standard library may come to mind. You might certainly point to the external packages too. But what about the relative ease of picking up new libraries or even parts of the standard…
John Cook: Find log normal parameters for given mean and variance
Link: https://www.johndcook.com/blog/2022/02/24/find-log-normal-parameters/
Earlier today I needed to solve for log normal parameters that yield a given mean and variance. I’m going to save the calculation here in case I needed in the future or in case a reader needs it. The
Link: https://www.johndcook.com/blog/2022/02/24/find-log-normal-parameters/
Earlier today I needed to solve for log normal parameters that yield a given mean and variance. I’m going to save the calculation here in case I needed in the future or in case a reader needs it. The
John D. Cook | Applied Mathematics Consulting
Find log normal parameters for given mean and variance
Starting with a desired mean and variance, find parameters for a log normal probability distribution with that mean and variance.
Glyph Lefkowitz: A Better Pygame Mainloop
Link: https://glyph.twistedmatrix.com/2022/02/a-better-pygame-mainloop.html
This post recommends calling pygame.display.flip from a thread, which I
tested extensively on mac, windows, and linux before posting, but after some
feedback from readers, I realize that this strategy
Link: https://glyph.twistedmatrix.com/2022/02/a-better-pygame-mainloop.html
This post recommends calling pygame.display.flip from a thread, which I
tested extensively on mac, windows, and linux before posting, but after some
feedback from readers, I realize that this strategy
Twistedmatrix
A Better Pygame Mainloop
Fix your mainloop for smoother gameplay that takes less battery power.