Planet Python RSS
213 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
ItsMyCode: [Solved] AttributeError: ‘str’ object has no attribute ‘decode’

Link: https://itsmycode.com/attributeerror-str-object-has-no-attribute-decode/

In Python 3, all the strings are in Unicode format by default. If you try to decode the Unicode string in Python 3, you will encounter an AttributeError: ‘str’ object has no attribute ‘decode’.
In thi
ItsMyCode: Convert Letters to Numbers in Python

Link: https://itsmycode.com/convert-letters-to-numbers-in-python/

Using the ord() method, we can convert letters to numbers in Python. The ord() method returns an integer representing the Unicode character.
In this tutorial, we will look at converting letters to num
Podcast.__init__: Automating Application Lifecycles For Developer Happiness At Wayfair

Link: https://www.pythonpodcast.com/wayfair-application-lifecycle-automation-episode-357/

A common piece of advice when starting anything new is to "begin with the end in mind". In order to help the engineers at Wayfair manage the complete lifecycle of their applications Joshua W
Anarcat: 20+ years of Emacs

Link: https://anarc.at/blog/2022-03-20-20-years-emacs/

I enjoyed reading this article named "22 years of Emacs"
recently. It's kind of fascinating, because I realised I don't exactly
know for how long I've been using Emacs. It's lost in the mists of
histo
Test and Code: 184: Twisted and Testing Event Driven / Asynchronous Applications - Glyph

Link: https://testandcode.com/184

Twisted has been supporting asynchronous / event driven applications way before asyncio. Twisted, and Glyph, have also been encouraging automated tests for a very long time.
Twisted uses a technique t
Mike Driscoll: PyDev of the Week: Kalob Taulien

Link: https://www.blog.pythonlibrary.org/2022/03/21/pydev-of-the-week-kalob-taulien/

This week we welcome Kalob Taulien (@KalobTaulien) as our PyDev of the Week! Kalob is a WagtailCMS core dev, which is a CMS on top of the Django web framework. You can catch up with Kalob by going to
Real Python: Python Timer Functions: Three Ways to Monitor Your Code

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

While many developers recognize Python as an effective programming language, pure Python programs may run more slowly than their counterparts in compiled languages like C, Rust, and Java. In this tuto
Talk Python to Me: #357: Python and the James Webb Space Telescope

Link: https://talkpython.fm/episodes/show/357/python-and-the-james-webb-space-telescope

Telescopes have been fundamental in our understanding of our place in the universe. And when you think about images that have shaped our modern view of space, you probably think about Hubble. But just
Python for Beginners: Print Without Newline in Python

Link: https://www.pythonforbeginners.com/basics/print-without-newline-in-python

While programming, we use the print() function to print a string or a value to the standard output. Normally, each print() function prints a value on a new line. However, we can change this behavior o
scikit-learn: Behind the Scenes of Data Umbrella scikit-learn Open Source Sprints

Link: https://blog.scikit-learn.org/events/behind-the-scenes/














Author:
Reshama Shaikh
,












Angela Okune


Introduction
Prior to 2020, most data sprints were held in person during intensive 8-hour
Real Python: Python Basics: Code Your First Python Program

Link: https://realpython.com/courses/python-basics-first-program/

In the previous Python Basics video course, you set up Python on your computer. With Python installed, you’re ready ready to start coding!
In this video course, you’ll:

Write your first Python progra
Python Morsels: Python Terminology

Link: https://www.pythonmorsels.com/terms/

Definitions for colloquial Python terminology (effectively an unofficial version of the Python glossary).


Table of contents

Looping
Collections
Variables and Assignment
Objects and Mutation
Modules
Python⇒Speed: Please stop writing shell scripts

Link: https://pythonspeed.com/articles/shell-scripts/

When you’re automating some task, for example packaging your application for Docker, you’ll often find yourself writing shell scripts.
You might have a bash script to drive the packaging process, and
Python Software Foundation: Meta deepens its investment in the Python ecosystem

Link: http://pyfound.blogspot.com/2022/03/meta-deepens-its-investment-in-python.html

As the backbone to many Meta Services ranging from Instagram to its AI and data infrastructure, Python is very important to Meta. PyTorch is built on Python, accelerating the path from ML research and
PyCoder’s Weekly: Issue #517 (March 22, 2022)

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

#517 – MARCH 22, 2022 View in Browser » Python list vs tuple Comparison Learn how list and tuple are similar and how they are different, including storage and speed differences and how to choose
The Python Coding Blog: How Do They Build The Starships in Star Trek? Classes and Objects in Python

Link: https://thepythoncodingbook.com/2022/03/23/starships-in-star-trek-classes-objects-python/

With so many new Star Trek series coming out at the moment and in the near future, new and old Trekkies are all asking the same question: How do they build the starships in the Star Trek universe? Or
Python for Beginners: Binary Tuple to Integer in Python

Link: https://www.pythonforbeginners.com/basics/binary-tuple-to-integer-in-python

A binary tuple is a tuple that contains only 0s and 1s as its elements. In this article, we will discuss different ways to convert a binary tuple to an integer in python. 
How to Convert a Binary Tupl
Real Python: Image Processing With the Python Pillow Library

Link: https://realpython.com/image-processing-with-the-python-pillow-library/

When you look at an image, you see the objects and people in it. However, when you read an image programmatically with Python or any other language, the computer sees an array of numbers. In this tuto
Kushal Das: eduGAIN Key Signing Ceremony

Link: https://kushaldas.in/posts/edugain-key-signing-ceremony.html


eduGAIN is a interfederation joining academic identity federations around the world, including over 4781 identify providers & 3519 service
providers. The project was initiated by by the GÉANT
resear
Python Bytes: #276 Tracking cyber intruders with Jupyter and Python

Link: https://pythonbytes.fm/episodes/show/276/tracking-cyber-intruders-with-jupyter-and-python

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

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

<p><strong>About the show</strong></p>