Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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
PyBites: How To Start Finishing – Learning from Agile Practices

Link: https://pybit.es/articles/how-to-start-finishing-learning-from-agile-practices/

Summary
Many of the agile tools, principles and guidelines used by large IT enterprises can be used by small teams or individual engineers to improve efficiency and create more value.
In this article,
Go Deh: Chatgpt on "Riffing on triplet sum to a target"

Link: http://paddy3118.blogspot.com/2023/02/chatgpt-on-riffing-on-triplet-sum-to.html

(Best viewed on a larger than phone screen). Last year I blogged on a taking a problem and solving it in multiple ways, just for the fun of it.Triplet sum  is a problem solved by many, and I had my ow
Mike Driscoll: PyDev of the Week: Roni Kobrosly

Link: https://www.blog.pythonlibrary.org/2023/02/27/pydev-of-the-week-roni-kobrosly/

This week we welcome Roni Kobrosly as our PyDev of the Week! Roni is the creator of the causal-curve package. You can catch up with Roni on Roni’s website. If you want to see some of Roni’s code, you
Python for Beginners: Working With an XML File in Python

Link: https://www.pythonforbeginners.com/basics/working-with-an-xml-file-in-python

XML files are used to store data as well as to transmit data in software systems. This article discusses how to read, write, update, and delete data from an XML file in Python. For this task, we will
Real Python: Using NumPy reshape() to Change the Shape of an Array

Link: https://realpython.com/numpy-reshape/

The main data structure that you’ll use in NumPy is the N-dimensional array. An array can have one or more dimensions to structure your data. In some programs, you may need to change how you organize
Brian Okken: pytest tips and tricks

Link: https://pythontest.com/pytest-tips-tricks/

This is a set of tips/tricks for learning and using pytest.
I’ll probably build on the list, so feel free to share with me items you think should be in the list.
Many items really deserve more explana
Brian Okken: Sharing is Caring - Sharing pytest Fixtures - PyCascades 2023

Link: https://pythontest.com/pycascades-2023/

I’ll be giving a talk at PyCascades 2023.
Talk page: Sharing is Caring - Sharing pytest Fixtures
Scheduled Time: Sunday, March 19, 11:30 am
[Slides] I’ll a link to the slides probably sometime o