Planet Python RSS
213 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python Pool: Python Shelve: Storing, Retrieving, Updating, and Deleting Data

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

Hello coders!! In this article, we will be learning about Python shelve and the various functions that we can do in it. A shelve in Python is a dictionary-like object. It is different from “dbm” datab
Python Pool: Gaussian Elimination in Python: Illustration and Implementation

Link: https://www.pythonpool.com/gaussian-elimination-python/?utm_source=rss&utm_medium=rss&utm_campaign=gaussian-elimination-python

Hello coders!! In this article, we will be learning about gaussian elimination in python. We will first understand what it means, learn its algorithm, and then implement it in Python. So, let us begin
Python Pool: Cracking The Python Autocorrelation Code

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

Hello coders!! In this article, we will be discussing autocorrelation in Python. We use autocorrelation to measure a set of current values against past values to see if they correlate. It is primarily
Python Pool: Everything You Wanted to Know About Numpy Arctan2

Link: https://www.pythonpool.com/numpy-arctan2/?utm_source=rss&utm_medium=rss&utm_campaign=numpy-arctan2

Hello geeks and welcome in this article, we will cover NumPy arctan2. Along with that, for an overall better understanding, we will also look at its syntax and parameter. Then we will see the applicat
Python Pool: 5 Ways to Check if the NumPy Array is Empty

Link: https://www.pythonpool.com/check-if-numpy-array-is-empty/?utm_source=rss&utm_medium=rss&utm_campaign=check-if-numpy-array-is-empty

Hello coders!! In this article, we will be learning different ways to check if the NumPy array is empty or not in Python. An array is a collection of elements of the same data type in a contiguous mem
Python Pool: The Ultimate Guide To Set Aspect Ratio in Matplotlib

Link: https://www.pythonpool.com/matplotlib-aspect-ratio/?utm_source=rss&utm_medium=rss&utm_campaign=matplotlib-aspect-ratio

Hello geeks and welcome in this article, we will cover the Matplotlib aspect ratio. Along with that, we look at its syntax, what difference does it make to the graph. To do so, we will look at a coupl
Python Pool: 4 Ways to Draw a Rectangle in Matplotlib

Link: https://www.pythonpool.com/matplotlib-draw-rectangle/?utm_source=rss&utm_medium=rss&utm_campaign=matplotlib-draw-rectangle

Hello geeks and welcome in today’s article, we will cover the Matplotlib draw rectangle. Along with that, for an overall better understanding, we will also look at its syntax and parameter. Then we wi
Codementor: Common Python security pitfalls, and how to avoid them

Link: https://www.codementor.io/saifsadiq1995/common-python-security-pitfalls-and-how-to-avoid-them-1ez7sh0mp0

Python's popularity attracts black and white-hat hackers alike. Here's how static code analysis solutions like Bandit can help us find and fix security flaws in our Python apps.
Patrick Kennedy: Generating a Static Site with Flask and Deploying it to Netlify

Link: http://www.patricksoftwareblog.com/static-site-with-flask-and-deploy-to-netlify/

I wrote a blog post on TestDriven.io about how to generate a static site using Flask and deploy it to Netlify:
Generating a Static Site with Flask and Deploying it to Netlify
This tutorial looks at ho
Karim Elghamrawy: Python: What Is Object-Oriented Programming?

Link: https://www.afternerd.com/blog/python-oop-concepts/

The post Python: What Is Object-Oriented Programming? appeared first on Afternerd.
Karim Elghamrawy: Python: Round a Number to the Nearest Integer

Link: https://www.afternerd.com/blog/round-number-nearest-integer/

The post Python: Round a Number to the Nearest Integer appeared first on Afternerd.
Kushal Das: Defending against side channel attacks via dependencies

Link: https://kushaldas.in/posts/defending-against-side-channel-attacks-via-dependencies.html


Yesterday Alex Birsan posted a
blog
explaining how he made a supply chain attack on various companies via
dependencies. I was waiting for this blog from last August when we noticed the
mentioned pack
Karim Elghamrawy: Python: Dictionary Union Operators

Link: https://www.afternerd.com/blog/dict-union-operators/

The post Python: Dictionary Union Operators appeared first on Afternerd.
Julien Danjou: Debugging C code on macOS

Link: https://julien.danjou.info/debugging-c-code-on-macoss/

I started to write C 25 years ago now, with many different tools over the year. As many open source developers, I spent most of my life working with the GNU tools out there.As I've been using an Apple
Hynek Schlawack: Hardening Your Web Server’s SSL Ciphers

Link: https://hynek.me/articles/hardening-your-web-servers-ssl-ciphers/

There are many wordy articles on configuring your web server’s TLS ciphers. This is not one of them. Instead, I will share a configuration that scores a straight “A” on Qualys’s SSL Server Test in 202
Stack Abuse: Python: How to Add Key to a Dictionary

Link: https://stackabuse.com/python-how-to-add-keys-to-dictionary/

Introduction
A dictionary in Python is a collection of items that store data as key-value pairs. We can access and manipulate dictionary items based on their key. Dictionaries are mutable and allow us
Andre Roberge: Friendly-traceback's www function

Link: https://aroberge.blogspot.com/2021/02/friendly-tracebacks-www-function.html

 Today, I saw (and then heard) that Friendly-traceback was discussed on the PythonBytes podcast. A comment made during that podcast suggested that it would be useful if an internet search could be per
Python Software Foundation: Welcoming Google as a Visionary Sponsor of the PSF

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/HTf9a0pMcBI/welcoming-google-as-visionary-sponsor.html

Our top sponsors—companies who step forward to make the biggest investment in Python and its community—not only use Python for their own internal development, but also offer Python as a crucial part o