Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python Pool: 5 Solid Ways to Remove Unicode Characters in Python

Link: https://www.pythonpool.com/remove-unicode-characters-python/?utm_source=rss&utm_medium=rss&utm_campaign=remove-unicode-characters-python

Introduction
In python, we have discussed many concepts and conversions. But sometimes, we come to a situation where we need to remove the Unicode characters from the string. In this tutorial, we will
Kushal Das: Adding dunder methods to a Python class written in Rust

Link: https://kushaldas.in/posts/adding-dunder-methods-to-a-python-class-written-in-rust.html


Last week I did two rounds of my Creating Python modules in Rust workshop.
During the second session on Sunday, someone asked if we can create standard
dunder methods, say __str__ or __repr__. I neve
EuroPython: EuroPython 2021: Financial Aid Applications Open

Link: https://blog.europython.eu/europython-2021-financial-aid/

We are happy to announce the start of our financial aid program for this year’s EuroPython.EuroPython 2021 Financial AidAs part of our commitment to the Python community and to increase our reach to l
Python⇒Speed: Don't leak your Docker image's build secrets

Link: https://pythonspeed.com/articles/docker-build-secrets/

In January 2021 CodeCov suffered from a security breach.
The mechanism:

The [malicious] actor gained access because of an error in Codecov’s Docker image creation process that allowed the actor to ex
Paolo Amoroso: A NASA TV Still Frame Viewer in Python

Link: http://blog.paoloamoroso.com/2021/04/a-nasa-tv-still-frame-viewer-in-python.html

I wrote Spacestills, a Python program for viewing NASA TV still frames.The main window of Spacestills running on Replit.As a hobbyist wishing to improve my Python programming skills, for some time I’v
Python for Beginners: Shallow copy and deep copy in Python

Link: https://www.pythonforbeginners.com/functions/shallow-copy-and-deep-copy-in-python


While programming, We need to copy existing data. When we assign a variable to another using = operator, the assignment operator doesn’t  copy the object and just creates a new reference to the same
Django Weblog: Technical Board Candidate Registration

Link: https://www.djangoproject.com/weblog/2021/apr/21/technical-board-candidate-registration/

With the completion of the Django 3.x major release cycle and in accordance with DEP-10 it is now time to collect candidates for the Django Technical Board.
According to DEP-10, "Any qualified person
Real Python: Python Community Interview With Moshe Zadka

Link: https://realpython.com/interview-moshe-zadka/

This week, I’m joined by Moshe Zadka, a senior site reliability engineer at SurveyMonkey. Moshe is a core developer for the Twisted framework and a Real Python author.
In this interview, we discuss a
Ching-Hwa Yu: How to Use pytest-mock to Simulate Responses

Link: https://chinghwayu.com/2021/04/how-to-use-pytest-mock-to-simulate-responses/

Waiting for responses can be slow and time consuming…



One of the biggest challenges facing an electrical, computer, or design engineer is bridging the gap between hardware and software. The task to
Python Morsels: 4 ways to import a module in Python

Link: https://www.pythonmorsels.com/topics/4-ways-import-module-python/




Transcript
Let's talk about the four ways to import something from a module in Python.
Importing the whole module object
The first way is to use the import statement, using the syntax import module
Python Bytes: #230 PyMars? Yes! FLoC? No!

Link: https://pythonbytes.fm/episodes/show/230/pymars-yes-floc-no

<p>Sponsored by us! Support our work through:</p>

<ul>
<li>Our <a href="https://training.talkpython.fm/"><strong>courses at Talk Python Training</strong></a></li>
<li><a href="https://pragprog.com/ti
Matthew Wright: Profiling Python code with memory_profiler

Link: https://www.wrighters.io/profiling-python-code-with-memory_profiler/

When your Python program uses more memory than expected, you can use memory_profiler to find out where memory is allocated.The post Profiling Python code with memory_profiler appeared first on wrighte
Stack Abuse: Plotly Bar Plot - Tutorial and Examples

Link: https://stackabuse.com/plotly-bar-plot-tutorial-and-examples/

Introduction
Plotly is a JavaScript-based, Python data visualization library, focused on interactive and web-based visualizations. It has the simplicity of Seaborn, with a high-level API, but also the
Python for Beginners: Merge Dictionaries in Python

Link: https://www.pythonforbeginners.com/dictionary/merge-dictionaries-in-python


While programming, there may be situations where we need to merge two or more dictionaries in python. In this article, we will study how we can merge two or more dictionaries in python using differen
Reuven Lerner: It’s time to learn Python

Link: https://lerner.co.il/2021/04/22/its-time-to-learn-python/

I’m on a mission: I want to help people to do more in less time, and to have better careers. How? Using Python.
If you’re reading this, then you might already be convinced that Python is both easy to
Python Pool: How to Save a Variable in a File in Python

Link: https://www.pythonpool.com/python-save-variable-to-file/?utm_source=rss&utm_medium=rss&utm_campaign=python-save-variable-to-file

In python, we have discussed many concepts and conversions. But sometimes, we come to a situation where we need to read a text from a file, write a text from a file, append a text in a file, and save
Paolo Melchiorre: GeoPython 2021

Link: https://www.paulox.net/2021/04/23/geopython-2021/

The Python online event for Python, Geo- and Machine Learning-Enthusiasts.