Planet Python RSS
213 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
"Morphex's Blogologue": A small script to find suitable, recurring dates

Link: http://blogologue.com/blog_entry?id=1612204587X59

So, I recently was in a long process, to find an arrangement between me and the kids mom regarding the kids.We made a court settlement, and the setup is that I see them every 8th week. Through my vol
Real Python: Python Web Applications: Deploy Your Script as a Flask App

Link: https://realpython.com/python-web-applications/

You wrote a Python script that you’re proud of, and now you want to show it off to the world. But how? Most people won’t know what to do with your .py file. Converting your script into a Python web ap
LAAC Technology: Database Constraints in Django

Link: https://www.laac.dev/blog/database-constraints-in-django/

Table of Contents

Introduction
Example Code
Unique Constraint
Check Constraint
Exclusion Constraint
Final Thoughts

Introduction
Data integrity refers to the accuracy of data stored inside a database
Podcast.__init__: Exploring Literate Programming For Python Projects With nbdev

Link: https://www.pythonpodcast.com/nbdev-literate-programming-episode-300/

Creating well designed software is largely a problem of context and understanding. The majority of programming environments rely on documentation, tests, and code being logically separated despite bei
Mike Driscoll: Drawing Text on Images with Pillow and Python

Link: https://www.blog.pythonlibrary.org/2021/02/02/drawing-text-on-images-with-pillow-and-python/

Pillow supports drawing text on your images in addition to shapes. Pillow uses its own font file format to store bitmap fonts, limited to 256 characters. Pillow also supports TrueType and OpenType fon
Python Pool: NumPy Cross Product in Python with Examples

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

Hello coders!! In this example, we will be learning about NumPy cross product in Python. We will also see different examples to clarify the concept. Let us dive into the topic.
What is a cross product
Justin Mayer: Python Development Environment on macOS Big Sur, Catalina, and Mojave

Link: https://hackercodex.com/guide/python-development-environment-on-mac-osx/

While installing Python and Virtualenv on macOS Big Sur, Catalina, and Mojave can be done several ways, this tutorial will guide you through the process of configuring a stock Mac system into a solid
IslandT: The difference of Volumes of Cuboids

Link: https://kibiwebgeek.com/the-difference-of-volumes-of-cuboids/

In this simple exercise, you will create a program that will take two lists of integers, a and b. Each list will consist of 3 positive integers above 0, representing the dimensions of cuboids a and b.
Stack Abuse: How to Rename Pandas DataFrame Column in Python

Link: https://stackabuse.com/how-to-rename-pandas-dataframe-column-in-python/

Introduction
Pandas is a Python library for data analysis and manipulation. Almost all operations in pandas revolve around DataFrames.
A Dataframe is is an abstract representation of a two-dimensional
Real Python: Plot With Pandas: Python Data Visualization Basics

Link: https://realpython.com/courses/plot-pandas-data-visualization/

Whether you’re just getting to know a dataset or preparing to publish your findings, visualization is an essential tool. Python’s popular data analysis library, pandas, provides several different opti
Python Morsels: String Concatenation and String Interpolation

Link: https://www.pythonmorsels.com/topics/string-concatenation-and-string-interpolation/




Transcript
Let's talk about how to build-up bigger strings out of smaller strings in Python. The two methods for doing this are string concatenation and string interpolation.
String Concatenation
W
PyCoder’s Weekly: Issue #458 (Feb. 2, 2021)

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

#458 – FEBRUARY 2, 2021 View in Browser » Finding and Fixing an Unexpected Memory Explosion in Pandas Storing string columns as categories can result in massive memory savings when working with
Ben Cook: PyTorch one hot encoding

Link: https://jbencook.com/pytorch-one-hot-encoding/

PyTorch has a one_hot() function for converting class indices to one-hot encoded targets.
Python Pool: Python SHA256: Implementation and Explanation

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

Hello coders!! In this article, we will be learning about python sha256. We will understand its meaning, its purpose and will also learn its implementation. So let us dig into the topic.
What is Pytho
Sebastian Witowski: Python Versions Management With pyenv

Link: https://switowski.com/blog/pyenv


Using the latest version of Python is always a good idea. First of all - you get the new features like the f-strings (Python 3.6), ordered dictionaries (officially guaranteed from Python 3.7, but alr
Mike Driscoll: PySimpleGUI: Drawing Text on Images with a Python GUI

Link: https://www.blog.pythonlibrary.org/2021/02/03/pysimplegui-drawing-text-on-images-with-a-python-gui/

The Pillow package lets you draw text on images using Python. This includes using TrueType and OpenType fonts. You have a lot of flexibility when adding this text to your images. If you’d like to know
Python Insider: Python 3.10.0a5 is now available for testing

Link: http://feedproxy.google.com/~r/PythonInsider/~3/L5BoMSqFEvw/python-3100a5-is-now-available-for.html

Well, this one took a bit more time due to some surprise last time reference leaks and release blockers to fix, but now Python 3.10.0a5 it’s here. Will this be the first release announcement of the 3.
Real Python: Qt Designer and Python: Build Your GUI Applications Faster

Link: https://realpython.com/qt-designer-python/

To create a GUI for your windows and dialogs in PyQt, you can take two main paths: you can use Qt Designer, or you can hand code the GUI in plain Python code. The first path can dramatically improve y