Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
PyPy: Finding JIT Optimizer Bugs using SMT Solvers and Fuzzing

Link: https://www.pypy.org/posts/2022/12/jit-bug-finding-smt-fuzzing.html

In this blog post I want to describe a recent bug finding technique that I've
added to the PyPy JIT testing infrastructure. This technique uses the Z3
theorem prover to find bugs in the optimizer of P
Reuven Lerner: My Week with ChatGPT

Link: https://lerner.co.il/2022/12/11/my-week-with-chatgpt/

Everyone’s talking about ChatGPT. If you haven’t used it yourself, then you’ve probably seen lots of screenshots on social media. Or maybe you’ve had a friend or family member (like me) talk about it
Podcast.__init__: Update Your Model's View Of The World In Real Time With Streaming Machine Learning Using River

Link: https://www.pythonpodcast.com/river-streaming-machine-learning-episode-388/

The majority of machine learning projects that you read about or work on are built around batch processes. The model is trained, and then validated, and then deployed, with each step being a discrete
Mike Driscoll: PyDev of the Week: Iqbal Abdullah

Link: https://www.blog.pythonlibrary.org/2022/12/12/pydev-of-the-week-iqbal-abdullah/

This week we welcome Iqbal Abdullah (@iqbalabd) as our PyDev of the Week! Iqbal is a Python community organizer in the East Asia and South East Asia regions.

Let's spend some time getting to know Iqb
Real Python: How to Get and Use the Current Time in Python

Link: https://realpython.com/python-get-current-time/

Getting the current time in Python is a nice starting point for many time-related operations. One very important use case is creating timestamps. In this tutorial, you’ll learn how to get, display, an
Python for Beginners: Drop Rows From Pandas Dataframe

Link: https://www.pythonforbeginners.com/basics/drop-rows-from-pandas-dataframe

We use pandas dataframes for many data processing tasks in Python. Sometimes, we need to drop some rows from the dataframe due to various reasons. In this article, we will discuss different ways to dr
Glyph Lefkowitz: Potato Programming

Link: https://blog.glyph.im/2022/12/potato-programming.html


One potato, two potato, three potato, four
Five potato, six potato, seven potato, more.

Traditional Children’s Counting Rhyme

Programmers waste enormous amounts of time thinking about, or worrying
death and gravity: Has your password been pwned? Or, how I almost failed to search a 37 GB text file in under 1 millisecond (in Python)

Link: https://death.andgravity.com/pwned

So, there's this website, Have I Been Pwned,
where you can check if your email address has appeared in a data breach.
There's also a Pwned Passwords section for checking passwords
... but, typing your
Real Python: Context Managers and Python's with Statement

Link: https://realpython.com/courses/with-statement-python/

The with statement in Python is a quite useful tool for properly managing external resources in your programs. It allows you to take advantage of existing context managers to automatically handle the
PyCoder’s Weekly: Issue #555 (Dec. 13, 2022)

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

#555 – DECEMBER 13, 2022 View in Browser » Package Python Code With pyproject.toml & Listing Files With pathlib How do you start packaging your code with pyproject.toml? Would you like to join a
Python Bytes: #314 What are you, a wise guy? Sort it out!

Link: https://pythonbytes.fm/episodes/show/314/what-are-you-a-wise-guy-sort-it-out

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

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

<p>Sponsored by <a href="http://pythonbytes.fm/f
Malthe Borch: Why pre-cloud tools are quietly dying

Link: https://maltheborch.com/2022/12/why-pre-cloud-tools-are-quietly-dying.html


In Why is everyone trying to kill Airflow,
dataengineeringdude argues that pre-cloud era tools such as the popular open-source orchestrator
Apache Airf
Python for Beginners: Drop Duplicate Rows From a Pandas Dataframe

Link: https://www.pythonforbeginners.com/basics/drop-duplicate-rows-from-a-pandas-dataframe

Pandas dataframes are used to handle tabular data in Python. The data sometimes contains duplicate values which might be undesired. In this article, we will discuss different ways to drop duplicate ro
CodersLegacy: Ctypes vs Python – Performance Comparison

Link: https://coderslegacy.com/ctypes-vs-python-performance-comparison/

Python Ctypes is a foreign function library that allows Python code to call C or C++ functions directly. This can be useful for improving the performance of Python code, particularly when working with
Declassed Art: Which compression method is best for API?

Link: https://declassed.art/en/blog/2022/12/14/which-compression-method-is-best-for-api

When I worked at work I did not care about such niceties. API returns too many data?
Let's turn gzip on in NGINX! Given that we have no other options for HTTP so far, nobody cares.
qutebrowser development blog: Happy 9th birthday, qutebrowser!

Link: https://blog.qutebrowser.org/happy-9th-birthday-qutebrowser.html

qutebrowser is turning 9 today! I’ll use the opportunity for a – perhaps
slightly tl;dr – overview of how it all came to be. As you might notice
by the length of this post, stopping to write once I st
Stack Abuse: The Python Switch Statement

Link: https://stackabuse.com/the-python-switch-statement/

Introduction
The switch statement is a powerful and convenient tool for controlling the flow of your program. It allows you to quickly and easily create multiple branches of code, depending on the val
PyBites: 5 ways I use GitHub Actions

Link: https://pybit.es/articles/5-ways-i-use-github-actions/

I am increasingly using GitHub Actions these days.
If you’re new to this you might want to check out our article or video.
In this article I will show you 5 cool ways I use it day to day.
Run tests an