Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Mike Driscoll: Python 101 – Importing Modules (Video)

Link: https://www.blog.pythonlibrary.org/2021/09/17/python-101-importing-video/

In this video tutorial, you will learn all about how to import modules using the import and from keywords

Related Tutorials


Python 101: All about imports


Creating a Simple Wizard with wxPython (V
Python for Beginners: Add an item to a dictionary in Python

Link: https://www.pythonforbeginners.com/dictionary/add-an-item-to-a-dictionary-in-python

A dictionary in python is a data structure that stores data in the form of key-value pairs. The key-value pairs are also called items. The key-value pairs in each dictionary are separated by a colon “
Python⇒Speed: Using Podman with BuildKit, the better Docker image builder

Link: https://pythonspeed.com/articles/podman-buildkit/

BuildKit is a new and improved tool for building Docker images: it’s faster, has critical features missing from traditional Dockerfiles like build secrets, plus additionally useful features like cache
STX Next: Python for Data Engineering: Why Do Data Engineers Use Python?

Link: https://www.stxnext.com/blog/python-for-data-engineering/




Python is one of the most popular programming languages worldwide. It often ranks high in surveys—for instance, it claimed the first spot in the Popularity of Programming Language index and came
Python Software Foundation: Tereza Iofciu Awarded the PSF Community Service Award for Q1 2021

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/QQwpt6e2N-w/tereza-iofciu-awarded-psf-community.html

 Tereza Iofciu, Data Science coach, PyLadies Hamburg organizer, and PSF Code of Conduct working group member has been awarded the Python Software Foundation 2021 Q1 community service award.RESOLVED, t
Python Circle: Python easter egg - import this and the joke

Link: https://pythoncircle.com/post/755/python-easter-egg-import-this-and-the-joke/

Zen of python, import this, the hidden easter egg with the joke, source code of Zen of python disobey itself
PyPy: Better JIT Support for Auto-Generated Python Code

Link: https://www.pypy.org/posts/2021/09/jit-auto-generated-code.html

Performance Cliffs
A common bad property of many different JIT compilers is that of a "performance
cliff": A seemingly reasonable code change, leading to massively reduced
performance due to hitting s
Stack Abuse: Calculating Euclidean Distance with NumPy

Link: https://stackabuse.com/calculating-euclidean-distance-with-numpy/

In this guide - we'll take a look at how to calculate the Euclidean distance between two points in Python, using Numpy.
What is Euclidean Distance?
Euclidean distance is a fundamental distance metric
Brett Cannon: Unravelling the `async with` statement

Link: https://snarky.ca/unravelling-the-async-with-statement/

I already covered unravelling the with statement, and async with is not much different. Much like with, the language reference for async with gives an example of the statement already destructured. Ba
Mike Driscoll: Merging Dictionaries with the Union Operator

Link: https://www.blog.pythonlibrary.org/2021/09/18/merging-dictionaries-with-the-union-operator/

As a developer, there are times where you may end up with two or more dictionaries that you need to combine into one master dictionary. There are lots of different ways to merge dictionaries in the Py
Talk Python to Me: #334: Microsoft Planetary Computer

Link: https://talkpython.fm/episodes/show/334/microsoft-planetary-computer

On this episode, Rob Emanuele and Tom Augspurger join us to talk about building and running Microsoft's Planetary Computer project. This project is dedicated to providing the data around climate recor
Weekly Python StackOverflow Report: (ccxciii) stackoverflow python report

Link: http://python-weekly.blogspot.com/2021/09/ccxciii-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2021-09-18 20:56:51 GMTInvoking a constructor in a 'with' statement - [
Mike Driscoll: Python 101 – An Intro to Jupyter Notebook

Link: https://www.blog.pythonlibrary.org/2021/09/19/python-101-an-intro-to-jupyter-notebook/

The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain code, equations, visualizations, and formatted text. By default, Jupyter Notebook runs
Podcast.__init__: Experimenting With Reinforcement Learning Using MushroomRL

Link: https://www.pythonpodcast.com/mushroomrl-reinforcement-learning-library-episode-332/

Reinforcement learning is a branch of machine learning and AI that has a lot of promise for applications that need to evolve with changes to their inputs. To support the research happening in the fiel
Mike Driscoll: PyDev of the Week: Tonya Sims

Link: https://www.blog.pythonlibrary.org/2021/09/20/pydev-of-the-week-tonya-sims/

This week we welcome Tonya Sims (@TonyaSims) as our PyDev of the Week! Tonya is a Python Developer Advocate for Vonage and is an active member of the Real Python community. Tonya recently gave a talk
Real Python: Using the "and" Boolean Operator in Python

Link: https://realpython.com/python-and-operator/

Python has three Boolean operators, or logical operators: and, or, and not. You can use them to check if certain conditions are met before deciding the execution path your programs will follow. In thi
Brett Cannon: (Not) unravelling generator expressions

Link: https://snarky.ca/not-unravelling-generator-expressions/

In this post on Python&aposs syntactic sugar, I want to try to tackle generator expressions. If you look at the language definition for generator expressions you will see that it says, "[a] generator
Python for Beginners: Find the mirror image of a binary tree

Link: https://www.pythonforbeginners.com/data-structures/find-the-mirror-image-of-a-binary-tree

Unlike a Python dictionary, a list, or a set, elements of a binary tree are represented in a hierarchical manner. Having hierarchy in a binary tree allows one to find its mirror image as each element
Mike Driscoll: How to Send Emails with Python

Link: https://www.blog.pythonlibrary.org/2021/09/21/how-to-send-emails-with-python/

Python provides a couple of really nice modules that you can use to craft emails with. They are the email and smtplib modules. Instead of going over various methods in these two modules, you’ll spend