Planet Python RSS
217 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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
Python Morsels: Read-Only Attribute

Link: https://www.pythonmorsels.com/topics/read-only-attribute/

If you want to make a single attribute read-only on a class, the easiest way to do it is to make a property representing your attribute.
The Problem
Let's say we have a Thing class with value and colo
Mike Driscoll: wxPython by Example – Adding a Background Image (Video)

Link: https://www.blog.pythonlibrary.org/2020/09/22/wxpython-by-example-adding-a-background-image-video/

In this tutorial, you will learn how to add an image to your panel so that you have a background image to put your widgets on.

The post wxPython by Example – Adding a Background Image (Video) appeare
PyCoder’s Weekly: Issue #439 (Sept. 22, 2020)

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

#439 – SEPTEMBER 22, 2020 View in Browser » Git Internals: Learn by Building Your Own Git Master the basics of git by building your own version in Python using this creative and interactive tuto
Python Anywhere: How to use Ansible to update your Django web app

Link: https://blog.pythonanywhere.com/191/

Now, as you have overcome or evaded the reefs, shoals and swirls of initial development and deployment and your appetite
grows, you ask “How do I automate the update and restart of my web app when I c