Planet Python RSS
214 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Stack Abuse: Python: Check if Variable is a List

Link: https://stackabuse.com/python-check-if-variable-is-a-list/

Introduction
Python is a dynamically typed language, and the variable data types are inferred without explicit intervention by the developer.
If we had code that needed a list but lacked type hints, w
The Digital Cat: Mau: a lightweight markup language

Link: https://www.thedigitalcatonline.com/blog/2021/02/22/mau-a-lightweight-markup-language/

What is Mau?Mau is a lightweight markup language heavily inspired by AsciiDoc that makes is very easy to write blog posts or books.The main goal of Mau is to provide a customisable markup language, re
Python Software Foundation: Happy Anniversary to Python and the Python Software Foundation!

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/Q1I6vSv_mh8/happy-anniversary-to-python-and-python.html

For two decades the PSF has worked on:diversity and inclusion effortsestablishing and enforcing a code of conduct for our communitymaking PyCon more accessibleimproving the services we provide to the
Learn PyQt: PDF Report generator — Generate custom PDF reports using reportlab & pdfrw

Link: https://www.learnpyqt.com/examples/python-pdf-report-generator/

If your job involves generating PDF reports, invoices, etc. you have probably thought about automating that with Python.
Python has some great libraries for working with PDF files, allowing you to rea
PyCharm: Developing Flask Apps on Google Cloud

Link: http://feedproxy.google.com/~r/Pycharm/~3/tnJTa4fbVSI/

We just had a webinar with Abby Carey from Google, where we discussed deploying Flask applications on GCP, using all the differerent services that it gives you.

In the webinar, Abby covered:

Using C
Talk Python to Me: #305 Python community at Python Discord

Link: https://talkpython.fm/episodes/show/305/python-community-at-python-discord

People often ask me how they can find a Python community to be part of. Maybe discussion forum or slack channel. This week, we look at one of the most active communities in Python Discord. It's Python
Real Python: Python and MongoDB: Connecting to NoSQL Databases

Link: https://realpython.com/introduction-to-mongodb-and-python/

MongoDB is a document-oriented and NoSQL database solution that provides great scalability and flexibility along with a powerful querying system. With MongoDB and Python, you can develop many differen
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 announcements of the
Python Insider: Python 3.10.0a6 is now available for testing

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

Remember us? It’s your friendly CPython release team and we have something we think you may like: The new alpha release of Python 3.10 is here, now with 100% more pattern matching. If I were you, I wo
Podcast.__init__: Go From Notebook To Pipeline For Your Data Science Projects With Orchest

Link: https://www.pythonpodcast.com/orchest-data-science-ide-episode-304/

Jupyter notebooks are a dominant tool for data scientists, but they lack a number of conveniences for building reusable and maintainable systems. For machine learning projects in particular there is a
Hynek Schlawack: Semantic Versioning Will Not Save You

Link: https://hynek.me/articles/semver-will-not-save-you/

The widely used Python package cryptography changed their build system to use Rust for low-level code which caused an emotional GitHub thread. Enthusiasts of 32-bit hardware from the 1990s aside, ther
Codementor: How To Get Page Source In Selenium Using Python?

Link: https://www.codementor.io/codepoetn/how-to-get-page-source-in-selenium-using-python-1flbvnaaa7

Ever wondered how to get page source in Selenium WebDriver using Python? In this blog, we explore how to make Selenium WebDriver get page source and demonstrate how Selenium gets XML page source as&he
Stack Abuse: Python: Check if Variable is a String

Link: https://stackabuse.com/python-check-if-variable-is-a-string/

Introduction
Python is a dynamically typed language, and the variable data types are inferred without explicit intervention by the developer.
If we had code that requires a string to work correctly bu
Real Python: Navigating Namespaces and Scope in Python

Link: https://realpython.com/courses/navigate-namespaces-scope/

In a program of any complexity, you’ll create hundreds or thousands of names, each pointing to a specific object. How does Python keep track of all these names so that they don’t interfere with one an
PyCoder’s Weekly: Issue #462 (March 2, 2021)

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

#462 – MARCH 2, 2021 View in Browser » Semantic Versioning Will Not Save You Semantic versioning aims to both communicate the version of software as well as promise that certain versions won’t b
PythonClub - A Brazilian collaborative blog about Python: Encapsulamento da lógica do algoritmo

Link: http://pythonclub.com.br/encapsulamento-da-logica-do-algoritmo.html

Muitas listas de exercícios de lógica de programação pedem em algum momento que um valor seja lido do teclado, e caso esse valor seja inválido, deve-se avisar, e repetir a leitura até que um valor vál
Ben Cook: Finding the mode of an empirical continuous distribution

Link: https://jbencook.com/mode-of-continuous-distribution/

You can find the mode of an empirical continuous distribution by plotting the histogram and looking for the maximum bin.
LAAC Technology: Five Common Django Mistakes

Link: https://www.laac.dev/blog/five-common-django-mistakes/

Table of Contents

Introduction
Example Code
Not using select_related and prefetch_related
Adding null to a CharField or TextField
Descending versus ascending with order_by or latest
Forgetting that c
Mike Driscoll: Python GUI Frameworks (Video)

Link: https://www.blog.pythonlibrary.org/2021/03/02/python-gui-frameworks-video/

In this tutorial, I talk about some of Python’s most popular GUI frameworks. You will learn the basics of graphical user interfaces. Then you will learn how to create a simple image viewer using wxPyt
Kushal Das: Get a TLS certificate for your onion service

Link: https://kushaldas.in/posts/get-a-tls-certificate-for-your-onion-service.html


For a long time, I wanted to have a certificate for the onion address of my
blog. Digicert was the only CA who was providing those certificates with an
Extended Validation. Those are costly and suita