Planet Python RSS
217 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
John Cook: Descartes and Toolz

Link: https://www.johndcook.com/blog/2020/09/20/descartes-and-toolz/

I was looking recently at the Python module toolz, a collection of convenience functions. A lot of these functions don’t do that much. They don’t save you much code, but they do make your code more re
John Cook: Searching Greek and Hebrew with regular expressions

Link: https://www.johndcook.com/blog/2020/09/20/unicode-regex/

According to the Python Cookbook, “Mixing Unicode and regular expressions is often a good way to make your head explode.” It is thus with fear and trembling that I dip my toe into using Unicode with G
Ned Batchelder: Scriv

Link: https://nedbatchelder.com//blog/202009/scriv.html

I’ve written a tool for managing changelog files, called
scriv. It focuses on a simple
workflow, but with lots of flexibility.I’ve long felt that it’s enormously beneficial for engineers to write abo
Gocept Weblog: Presentation: We have nearly one million lines of Python 2 code in production — and now?

Link: https://blog.gocept.com/2020/09/03/presentation-we-have-nearly-one-million-lines-of-python-2-code-in-production-and-now/

Still running Python 2 code in production is like steering a ship without radar in thick fog: You don’t know, which obstacle you will hit next. But there are ways to see the sun again – even for large
The Digital Cat: TDD in Python with pytest - Part 5

Link: https://www.thedigitalcatonline.com/blog/2020/09/21/tdd-in-python-with-pytest-part-5/

This is the fifth and last post in the series "TDD in Python with pytest" where I develop a simple project following a strict TDD methodology. The posts come from my book Clean Architectures in Python
Stack Abuse: Replace Occurrences of a Substring in String with Python

Link: https://stackabuse.com/replace-occurrences-of-a-substring-in-string-with-python/

Introduction
Replacing all or n occurrences of a substring in a given string is a fairly common problem of string manipulation and text processing in general. Luckily, most of these tasks are made eas
Chris Moffitt: PB Python Article Roadmap

Link: https://pbpython.com/roadmap.html


Introduction
September 17th is Practical Business Python’s anniversary. Last year, I reflected on 5
years of growth. This year, I wanted to take a step back and develop a guide to guide readers
throu
Test and Code: 131: Test Smarter, Not Harder

Link: https://testandcode.com/131

Some people avoid writing tests. Some drudge through it painfully.
There is a better way.
In this episode, I'm going to share some advice from Luke Plant on how to "Test Smarter, Not Harder".Sponsored
Andrew Dalke: Molfile "S SKP"

Link: http://www.dalkescientific.com/writings/diary/archive/2020/09/21/molfile_s__skp.html



In the last couple of essays I described some of the parts
of a SDF record then pointed out some of the ways
to break simple SDF record tokenizers. In this essay I'll point
out an documentation curi
Dataquest: Learn to Code Free — Our Interactive Courses Are ALL Free This Week!

Link: https://www.dataquest.io/blog/learn-to-code-free-this-week-only/

Exciting news: for the next week, all courses are free. Yup, every single course in every learning path is free from Sept 21-28.This free week includes all of our courses in R, Python, SQL, machine l
Real Python: Python Practice Problems: Get Ready for Your Next Interview

Link: https://realpython.com/python-practice-problems/

Are you a Python developer brushing up on your skills before an interview? If so, then this tutorial will usher you through a series of Python practice problems meant to simulate common coding test sc
Anarcat: PSA: Mailman used to harrass people

Link: https://anarc.at/blog/2020-09-21-mailman-psa/

It seems that Mailman instances are being abused to harrass people
with subscribe spam. If some random people complain to you that they
"never wanted to subscribe to your mailing list", you may be a v
Catalin George Festila: Python 3.8.5 : A sphere in Cartesian coordinates - part 001.

Link: http://python-catalin.blogspot.com/2020/09/python-385-sphere-in-cartesian.html

I like the equation of a sphere of radius R centered at the origin is given in Cartesian coordinates:
x*x + y*y + z*z = r*r
It is one of the first elements that helped me better understand mathematic
Podcast.__init__: Flexible Network Security Detection And Response With Grapl - Episode 281

Link: https://www.pythonpodcast.com/grapl-network-security-episode-282/

Servers and services that have any exposure to the public internet are under a constant barrage of attacks. Network security engineers are tasked with discovering and addressing any potential breaches
Ram Rachum: Live-coding a music synthesizer

Link: https://blog.ram.rachum.com/post/629952546416541696



Live-coding a music synthesizer



After so much work and waiting, the video of my EuroPython talk is
finally released!




This is a fun live-cod
EuroPython: EuroPython “Ask me Anything”

Link: https://blog.europython.eu/post/629951901661790208

Dear Community,we want to try a new experiment and run an “Ask me Anything” (AMA) this Thursday to answer questions you may have, share our knowledge or help you in planning your online event.Some of
Andrew Dalke: Fun with SDF records - chemfp's text toolkit

Link: http://www.dalkescientific.com/writings/diary/archive/2020/09/22/fun_with_sdf_records.html



Earlier this year, Noel O'Boyle wrote the essay Python
patterns for processing large SDF files and Richard Apodaca wrote
Reading Large SDfiles in Rust. In this essay I'll show some
examples of usin
Python Software Foundation: The Python Software Foundation re-opens its Grants Program!

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/15M3ter9aRE/the-python-software-foundation-re-opens.html

The Python Software Foundation is excited to announce the re-opening of its Grants Program! The pandemic negatively affected the PSF’s finances with the cancellation of PyCon 2020’s in-person conferen