Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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
AI Pool: Understanding Autoencoders - An Unsupervised Learning approach

Link: https://ai-pool.com/a/s/understanding-autoencoders---an-unsupervised-learning-approach

This article covers the concept of Autoencoders. Concepts like What are Autoencoders, Architecture of an Autoencoder, and intuition behind the training of Autoencoders.
Python Software Foundation: The 2021 Python Language Summit: Welcome, Introductions, Guidelines

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/d6dgSmSBl6M/the-2021-python-language-summit-welcome.html

As attendees slowly filtered into the virtual event leading up to the official start time, they were clearly happy to see each other and have the chance to get together virtually even though PyCon US
Test and Code: 153: Playwright for Python: end to end testing of web apps - Ryan Howard

Link: https://testandcode.com/153

Playwright is an end to end automated testing framework for web apps with Python support and even a pytest plugin.Special Guest: Ryan Howard.Sponsored By:PyCharm Professional: Try PyCharm Pro for 4 mo
Nicola Iarocci: Flask 2.0

Link: https://nicolaiarocci.com/flask-2.0/

Flask 2.0 has just been released. Along with it come many other major satellite releases: Werkzeug 2.0, Jinja 3.0, Click 8.0, ItsDangerous 2.0, and MarkupSafe 2.0.
Across all projects, Python 3.6+ is
Real Python: The Real Python Podcast – Episode #60: Building a Platform Game With Arcade and Covering Python News Monthly

Link: https://realpython.com/podcasts/rpp/60/

Did you know the Python Software Foundation is hiring! With the recent support of three Visionary Sponsors, the PSF has been able to open positions for a developer-in-residence and a Python packaging