Planet Python RSS
215 subscribers
16.8K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
The Digital Cat: Accessing attributes in Python

Link: https://www.thedigitalcatonline.com/blog/2015/01/12/accessing-attributes-in-python/

Python is a language that tries to push the object-oriented paradigm to its maximum. This means that its object model is very powerful compared to that of other languages, but also that the behaviour
Ned Batchelder: Decorator shortcuts

Link: https://nedbatchelder.com/blog/202210/decorator_shortcuts.html

When using many decorators in code, there’s a shortcut you can use if you
find yourself repeating them. They can be assigned to a variable just like
any other Python expression.Don’t worry if you don
Matt Layman: Heroku Stack Upgrade - Building SaaS with Python and Django #147

Link: https://www.mattlayman.com/blog/2022/heroku-stack-upgrade-building-saas-with-python-and-django-147/

In this episode, I did some upgrades. We upgraded the app to the latest Heroku stack, upgraded htmx to the latest version, then worked on a small feature to add an empty state to a page when there is
Python Morsels: Installing Python packages

Link: https://www.pythonmorsels.com/installing-python-packages/

When your code depends other Python libraries to run, you'll want to reach for pip and venv to install those third-party Python packages.



Table of contents

Our program depends on a third-party pac
IslandT: Python Example — How to use the with open file method in Python

Link: https://islandtropicaman.com/wp/2022/10/09/python-example-how-to-use-the-with-open-file-method-in-python/

In this Python example, I am going to create a Python program that will get the user poet inputs and then save them inside a file, and after that displayed those poets back on the screen.
I am going t
Ahmed Bouchefra: How to delete blank page in MS Word

Link: https://efficientcoder.net/delete-blank-page-in-word/

You’ve decided that you’d like to get rid of a blank page in Word. In most cases, if you press the delete or backspace key on your keyboard a sufficient number of times, everything should work properl
Podcast.__init__: How And Why To Build Effective Teams As An Engineering Leader

Link: https://www.pythonpodcast.com/effective-engineering-teams-jigar-desai-episode-380/

Your ability to build and maintain a software project is tempered by the strength of the team that you are working with. If you are in a position of leadership, then you are responsible for the growth
PyCharm: Webinar: “Django-in-PyCharm Tips: Reloaded”

Link: https://blog.jetbrains.com/pycharm/2022/10/webinar-django-in-pycharm/

Two and a half years ago, we held a “Django tips in PyCharm” webinar. This refresher swaps out some tips, but also shows lots of fresh goodness in the IDE: the new UI, remote and sharing options, endp
Zato Blog: HL7 FHIR Security with Basic Auth, OAuth and SSL/TLS

Link: https://zato.io/blog/posts/hl7-fhir-security.html

HL7 FHIR Security
Preliminary reading: HL7 FHIR Integrations in Python

FHIR servers offer their APIs using REST, which in turn means that they are HTTP servers under the hood. As a result,
a few comm
IslandT: Python Example — Count the number of even numbers from 1 to 100

Link: https://islandtropicaman.com/wp/2022/10/10/python-example-count-the-number-of-even-numbers-from-1-to-100/

An even number is a number that can be divided by two, for example, 2, 4, 6, 8, and 10. In this example let us create a simple Python program that can count the number of the even numbers from 1 to 10
Mike Driscoll: PyDev of the Week: Sybren Stüvel

Link: https://www.blog.pythonlibrary.org/2022/10/10/pydev-of-the-week-sybren-stuvel/

This week we welcome Sybren Stüvel (@sastuvel) as our PyDev of the Week! Sybren is a core maintainer of the Python-RSA package and also works on Blender.
You can see what else Sybren is up to over on
Python for Beginners: Split a Numpy Array in Python

Link: https://www.pythonforbeginners.com/basics/split-a-numpy-array-in-python

Numpy arrays are one of the most efficient data structures for handling numerical data. You can perform different mathematical operations on numpy arrays using built-in functions. In this article, we
TestDriven.io: Deploying a Django App to Dokku on a DigitalOcean Droplet

Link: https://testdriven.io/blog/django-dokku/

This tutorial looks at how to deploy a Django application to Dokku on a DigitalOcean droplet.
Real Python: Python News: What's New From September 2022?

Link: https://realpython.com/python-news-september-2022/

In September 2022, the Python 3.11.0rc2 release candidate version became available for you to test and stay on top of Python’s latest features. This release is the last preview version before the fina
Python Morsels: Unindenting multi-line strings in Python

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

Need a multi-line string but don't want to include a big block of manually dedented text in your Python code? Use textwrap.dedent!



Table of contents

Manually dedenting multi-line strings
Using tex
Kushal Das: Introducing pyarti, python module for the Tor Project

Link: https://kushaldas.in/posts/introducing-pyarti-python-module-for-the-tor-project.html


python3 -m pip install pyarti

pyarti is a Python module written in
Rust using Arti from the Tor
Project. Right now pyarti is in the initial stage, and you can create a SOCKS5
proxy object, and pass
Mike Driscoll: The Python Quiz Book Kickstarter

Link: https://www.blog.pythonlibrary.org/2022/10/10/the-python-quiz-book-kickstarter/


Quizzes are a fun way to test your knowledge of something.  They make you think. The Python Quiz Book is all about brain teasers for the Python programming language. The Python Quiz Book isn't made t
PyBites: Become a more effective learner with Russell Helmstedter

Link: https://pybit.es/articles/pp90-become-a-more-effective-learner/

Listen now:

This week we have Russell Helmstedter (@rhelmstedter) on the show to talk about a book about learning that will blow your mind: Learn Better We talk through the six facets of learning the