Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Real Python: Stacks and Queues: Selecting the Ideal Data Structure

Link: https://realpython.com/courses/stacks-queues-ideal-data-structure/

There are a variety of ways for storing and managing data in your program and the choice of the right data structure has an effect on the readability of your code, ease of writing, and performance. Py
PyCoder’s Weekly: Issue #472 (May 11, 2021)

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

#472 – MAY 11, 2021 View in Browser » The Quest for Faster Python There seems to be a lot going on in the Python JIT compiler space. Facebook recently open-sourced Instagram’s Cinder runtime, Py
AI Pool: Understanding of Regularization in Neural Networks

Link: https://ai-pool.com/a/s/understanding-of-regularization-in-neural-networks

This article includes the different techniques of regularization like Data Augmentation, L1, L2, Dropout, and Early Stopping
Mike Driscoll: Converting an Image to ASCII with Python

Link: https://www.blog.pythonlibrary.org/2021/05/11/converting-an-image-to-ascii-with-python/

There are lots of fun Python snippets out there that you can use to convert your photos into ASCII art. Anthony Shaw, an author, and contributor at Real Python, has his own snippet on GitHub. Most of
Python Pool: Differentiating Append() Vs Extend() Method in Python

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

Introduction: Append() Vs Extend() in Python
One of the most useful data structures provided by python is List. You might think it would have been wonderful if you could add elements to the list after
CubicWeb: CubicWeb Monthly news April 2021

Link: http://feedproxy.google.com/~r/cubicweborg/~3/oe92X38vFc4/17367054

During this period, we tried to fix issues, migrate some of our code base to latest version of CubicWeb. We also pursue some archeology tasks : merging or closing some merge requests from the old head
Python Software Foundation: Débora Azevedo: Finding A Sense of Belonging Through the Python Community

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/RswFJu_V2uE/debora-azevedo-finding-sense-of.html

PyLadies Brazil co-founder,  Débora Azevedo can encapsulate her feelings about the Python community in one word: Belonging.  Growing up in Natal, Brazil, Débora never would’ve guessed that Python woul
Real Python: Write Pythonic and Clean Code With namedtuple

Link: https://realpython.com/python-namedtuple/

Python’s collections module provides a factory function called namedtuple(), which is specially designed to make your code more Pythonic when you’re working with tuples. With namedtuple(), you can cre
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⇒Speed: Docker can slow down your code and distort your benchmarks

Link: https://pythonspeed.com/articles/docker-performance-overhead/

One of the benefits of containers over virtual machines is that you get some measure of isolation without the performance overhead or distortion of virtualization.
Docker images therefore seem like a
Python Bytes: #233 RaaS: Readme as a Service

Link: https://pythonbytes.fm/episodes/show/233/raas-readme-as-a-service

<p><strong>Watch the live stream:</strong></p>

<a href='https://www.youtube.com/watch?v=luKiqcQsHUI' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>

<p><strong>About the show</strong></p>
Ben Cook: PyTorch Tensor to NumPy Array and Back

Link: https://jbencook.com/pytorch-numpy-conversion/

NumPy to PyTorch
PyTorch is designed to be pretty compatible with NumPy. Because of this, converting a NumPy array to a PyTorch tensor is simple:
import torch
import numpy as np

x = np.eye(3)

torch.
Mike Driscoll: Drawing Rectangles with Rounded Corners with Pillow and Python

Link: https://www.blog.pythonlibrary.org/2021/05/12/drawing-rectangles-with-rounded-corners-with-pillow-and-python/

Pillow is a package devoted to working with images in Python. Starting in Pillow 8.2, there is a new drawing type: the rounded rectangle. A rounded rectangle lets you round the corners of the rectangl
Mike Driscoll: Python 101: 2nd Edition is FREE for PyCon 2021!

Link: https://www.blog.pythonlibrary.org/2021/05/13/python-101-2nd-edition-is-free-for-pycon-2021/

I am making Python 101: 2nd Edition free during PyCon 2021. This sale will end, Monday, May 17th, 2021. You can get the book free using the following links:

Leanpub – https://leanpub.com/py101/c/pyco
Django Weblog: Django bugfix releases issued: 3.2.3, 3.1.11, and 2.2.23

Link: https://www.djangoproject.com/weblog/2021/may/13/bugfix-releases/

Today we've issued
3.2.3,
3.1.11, and
2.2.23 bugfix releases.
The release package and checksums are available from our downloads page, as well as from the Python Package Index. The PGP key ID used fo
Python for Beginners: Why we need comments in Python

Link: https://www.pythonforbeginners.com/comments/why-we-need-comments-in-python


Comments are the statements which are included in the source code but don’t contribute to program logic. A python comment is not executed by the interpreter and it can only be accessed when we have a
Python Engineering at Microsoft: The Pylance language server has reached stable!

Link: https://devblogs.microsoft.com/python/pylance-has-reached-stable/

We’re excited to announce that Pylance, our fast and feature-rich language support for Python in Visual Studio Code, is now officially out of preview and has reached its first stable release.
Join us
Ben Cook: How to Use the PyTorch Sigmoid Operation

Link: https://jbencook.com/pytorch-sigmoid/

The PyTorch sigmoid function is an element-wise operation that squishes any real number into a range between 0 and 1. This is a very common activation function to use as the last layer of binary class
Python Software Foundation: The 2021 Python Language Summit

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/_-8J6H4Mr-o/the-2021-python-language-summit.html

Every year, a small group of core developers from Python implementations such as CPython, PyPy, Jython, and more come together to share information, discuss problems, and seek consensus in order to he