Planet Python RSS
214 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Real Python: Python Zip Imports: Distribute Modules and Packages Quickly

Link: https://realpython.com/python-zip-import/

Python allows you to import code from ZIP files directly through Zip imports. This interesting built-in feature enables you to zip Python code for distribution purposes. Zip imports also help if you o
Nikola: Nikola v8.2.0 is out!

Link: https://getnikola.com/blog/nikola-v820-is-out.html

On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v8.2.0. This release includes some new features
as well as a bunch of bugfixes.

What is Nikola?
Nikola is a
Python Morsels: Representing binary data with bytes

Link: https://www.pythonmorsels.com/topics/representing-binary-data-with-bytes/




Let's talk about the difference between strings and bytes in Python.
Creating bytes objects in Python
Strings represent text (human language that is).
For example, here we have a string named text:
Michał Bultrowicz: Enforcing Python imports’ order with isort, Makefiles, and Vim

Link: https://bultrowicz.com/enforcing_python_import_ordering_with_isort/

I finally integrated isort into my toolbox.
I think that the job of changing code files belongs to the editor (or an IDE),
so I made Vim run isort automatically,
while the import order enforcement in
Ned Batchelder: Gem: exploding string alternatives

Link: https://nedbatchelder.com/blog/202112/gem_exploding_string_alternatives.html

Here’s a Python gem: a small bit of Python that uses the power of the
language and standard library well.It’s a function to list strings generated by a pattern with embedded
alternatives. It takes an
Stack Abuse: Validate Email Addresses in Python with email-validator

Link: https://stackabuse.com/validate-email-addresses-in-python-with-email-validator/

Introduction
Whether you are creating a registration form for your website or you just need to delete all invalid email addresses from your mailing list, you can't help but perform the process of emai
Python for Beginners: Check For Harshad Number In Python

Link: https://www.pythonforbeginners.com/basics/check-for-harshad-number-in-python

Numbers have many specialties. Based on the specialties, they are given unique names. One such special number is the Harshad number or Niven number. In this article, We will discuss a program to check
Andre Roberge: New milestone for friendly: version 0.5

Link: https://aroberge.blogspot.com/2021/12/new-milestone-for-friendly-version-05.html

 Friendly (previously at 0.4.41) and friendly-traceback (previously at 0.4.111) are now at version 0.5. The joint documentation for both projects has not yet been updated.  In addition to the many new
PyCoder’s Weekly: Issue #505 (Dec. 28, 2021)

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

#505 – DECEMBER 28, 2021 View in Browser » Python Zip Imports: Distribute Modules and Packages Quickly In this step-by-step tutorial, you’ll learn what Zip imports are and how to use them in Pyt
ItsMyCode: TypeError: ‘list’ object is not callable

Link: https://itsmycode.com/typeerror-list-object-is-not-callable/

ItsMyCode |
The most common scenario where Python throws TypeError: ‘list’ object is not callable is when you have assigned a variable name as “list” or if you are trying to index the elements of the
ItsMyCode: [Solved] Python can’t Multiply Sequence by non-int of type ‘float’

Link: https://itsmycode.com/solved-python-cant-multiply-sequence-by-non-int-of-type-float/

ItsMyCode |
The TypeError: can’t multiply sequence by non-int of type ‘float’ occurs if we use the multiply operator between a string and float value. 
In this tutorial, we will learn what exactly Typ
Python for Beginners: String Slicing in Python

Link: https://www.pythonforbeginners.com/strings/string-slicing-in-python

Strings are one of the most used data structures in Python. We process all the text data using strings in Python. In this article, we will look at ways to extract a sub-string from a given string usin
PyCharm: PyCharm 2021.3.1 Is Out!

Link: https://blog.jetbrains.com/pycharm/2021/12/2021-3-1/

The first minor release of PyCharm 2021.3 contains multiple bug fixes:
We fixed a bug that prevented Django to run inside WSL. [PY-51679]We fixed a bug where PyCharm suggested importing abstract colle
PyCharm: Early Access PyCharm Podcast: PyCharm and the 2021.3 release

Link: https://blog.jetbrains.com/pycharm/2021/12/pycharm-and-the-2021-3-release/


In this episode, Nafiul talks to Andrey Vlasovskikh, PyCharm’s team lead, and Aleksei Kniazev, responsible for PyCharm’s web frameworks support, about the 2021.3 PyCharm release. They talked about th
Kushal Das: Johnnycanencrypt 0.6.0 released

Link: https://kushaldas.in/posts/johnnycanencrypt-0-6-0-released.html


A few days ago I released 0.6.0 of
Johnnycanencrypt.
It is a Python module written in Rust for OpenPGP using the amazing
sequoia-pgp library. It allows you to access/use Yubikeys (without gpg-agent)
Stack Abuse: Parsing XML with BeautifulSoup in Python

Link: https://stackabuse.com/parsing-xml-with-beautifulsoup-in-python/

Introduction
Extensible Markup Language (XML) is a markup language that's popular because of the way it structures data. It found usage in data transmission (representing serialized objects) and confi
Michał Bultrowicz: Make and entr for code validation during editing

Link: https://bultrowicz.com/continous_validation_with_make_and_entr/

For a while now, I’ve been wondering how to combine entr
(which automatically runs commands on file changes)
with the way I setup project validation (both for CI/CD and for local developer usage) with
Python for Beginners: Factors Of A Number In Python

Link: https://www.pythonforbeginners.com/basics/factors-of-a-number-in-python

You might have heard about multiples and factors of a number in Python. If you are reading this blog, I can definitely tell you that you are looking to write a program for finding factors of a number.
Zero to Mastery: Python Monthly Newsletter 💻🐍 December 2021

Link: https://zerotomastery.io/blog/python-monthly-newsletter-december-2021/?utm_source=python-rss-feed

25th issue of the Python Monthly Newsletter! Read by 20,000+ Python developers every month. This monthly Python newsletter covers the latest Python news so that you stay up-to-date with the industry a