Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
PyCoder’s Weekly: Issue #565 (Feb. 21, 2023)

Link: https://pycoders.com/issues/565

#565 – FEBRUARY 21, 2023 View in Browser » How to Flush the Output of the Python Print Function In this tutorial, you’ll learn how to flush the output of Python’s print function. You’ll explore
death and gravity: yaml: while constructing a mapping found unhashable key

Link: https://death.andgravity.com/yaml-unhashable-key

So you're trying to read some YAML using PyYAML,
and get an exception like this:
>>> yaml.safe_load("""\
... [0, 0]: top-left
... [1, 1]: bottom-right
... """)
Traceback (most recent call last):
...
PyCon: The 12th Annual PyLadies Auction

Link: https://pycon.blogspot.com/2023/02/the-12th-annual-pyladies-auction.html

It’s only a few months until the next PyLadies Auction at PyCon 2023!2022's auctioneersIf you have yet to attend a PyLadies Auction at previous PyCons, don’t miss out this year. Help us raise money fo
PyCharm

Link:

PyCharm now bundles a plugin, which allows users to interact with analysis results delivered by Qodana – a new code quality platform from JetBrains. The platform is designed to bring server-side stati
TestDriven.io: Generating a Static Site with Flask and Deploying it to Netlify

Link: https://testdriven.io/blog/static-site-flask-and-netlify/

This tutorial shows how to leverage the JAMstack with Python and Flask by creating a static site and deploying it to Netlify
Python for Beginners: Convert XML to YAML in Python

Link: https://www.pythonforbeginners.com/basics/convert-xml-to-yaml-in-python

XML and YAML are two of the most used file formats in software engineering. Sometimes, we need to convert an XML file to YAML or vice versa. This article discusses how to convert XML string or file to
Real Python: The Terminal: First Steps and Useful Commands

Link: https://realpython.com/terminal-commands/

The terminal can be intimidating to work with when you’re used to working with graphical user interfaces (GUIs). However, it’s an important tool that you need to get used to in your journey as a Pytho
Mike Driscoll: An Intro to Testing in Python with a Code Kata (Video)

Link: https://www.blog.pythonlibrary.org/2023/02/22/an-intro-to-testing-in-python-with-a-code-kata-video/

In today’s video, you will learn about the following topics:

An intro to Test Driven Development (TDD)
Red-Green-Refactor
The importance of source control
Code coverage in Python

I’ll show you how I
Python Bytes: #324 JSON in My DB?

Link: https://pythonbytes.fm/episodes/show/324/json-in-my-db

<a href='https://www.youtube.com/watch?v=cgHMcFOPF_E' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>

<p><strong>About the show</strong></p>

<p>Sponsored by <a href="https://pythonbytes.fm/
Sebastian Witowski: Compare to None

Link: https://switowski.com/blog/compare-to-none/


<p>How do we check if something is <code>None</code>?</p>
<p>With the beauty of the Python language - the code that you would write is literally the same as the above question:</p>
<pre class
Stack Abuse: Three Ways to Create Multiline Strings in Python

Link: https://stackabuse.com/three-ways-to-create-multiline-strings-in-python/

Introduction
Multiline strings are a useful feature in Python that allow you to create strings that span multiple lines of code. They can be especially helpful when you need to create long or complex
CodersLegacy: BeautifulSoup User Agents in Python

Link: https://coderslegacy.com/beautifulsoup-user-agents/

BeautifulSoup is a popular Python library that simplifies web scraping by allowing you easily extract useful information from HTML (web) files. In this article, we will explain what User Agents are, w
Real Python: The Real Python Podcast – Episode #146: Using NumPy and Linear Algebra for Faster Python Code

Link: https://realpython.com/podcasts/rpp/146/

Are you still using loops and lists to process your data in Python? Have you heard of a Python library with optimized data structures and built-in operations that can speed up your data science code?
Python for Beginners: Convert XML to JSON in Python

Link: https://www.pythonforbeginners.com/basics/convert-xml-to-json-in-python

We use different file formats to store and transmit data generated from software systems. Sometimes, we need to convert an XML file to JSON to communicate between two software. This article discusses
Pythonicity: GraphQL nulls

Link: https://coady.github.io/posts/graphql-nulls.html

Litany against nulls.
The myths and misconceptions regarding null behavior in GraphQL are epic. Even the spec is wrong.

Inputs (such as field arguments), are always optional by default. However a non
Daniel Roy Greenfeld: Programming languages I've learned

Link: https://daniel.feldroy.com/posts/2023-02-programming-languages-ive-learned

Matt Harrison asked in a tweet what my programming history was, so here's a list of the programming languages I've learned.
AppleBasic (ancient history)
My first computer was an Apple ][+. I learned A
PyBites: Finding value and purpose in your work

Link: https://pybit.es/articles/finding-value-and-purpose-in-your-work/

Watch here:


Or listen here:

Welcome back to the Pybites podcast! This week we have an inspirational talk with our special guest Cassandra Babilya! We talk about the importance of finding value and