Planet Python RSS
214 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
PyCharm: Meet the PyCharm Team at Python Web Conference Next Week

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


Pssst. We know a place where 48 international experts are gathering together to talk about Django, Flask, Pyramid, containers, REST APIs, and other topics that every web developer will want to know m
Python Morsels: importing a module

Link: https://www.pythonmorsels.com/topics/importing-module/




Related article:

Everything is an object
Attributes are Everywhere in Python
Each Module Has its Own Global Scope

Transcript
Let's talk about importing modules in Python.
Importing a module
Pytho
Red Hat Developers: Managing Python dependencies with the Thoth JupyterLab extension

Link: https://developers.redhat.com/blog/2021/03/19/managing-python-dependencies-with-the-thoth-jupyterlab-extension/

JupyterLab is a flexible and powerful tool for working with Jupyter notebooks. Its interactive user interface (UI) lets you use terminals, text editors, file browsers, and other components alongside y
testmon: Version 1.1 is out!

Link: https://testmon.org/testmon_1.1_is_out_intro.html

pytest-testmon version 1.1 is out and up on PyPI.
The new feature is lifting a basic limitation of testmon.
To find out what's new please go here: Version 1.1. is out!
Real Python: The Real Python Podcast – Episode #52: Connecting to MongoDB and Updates on the Python Packaging Landscape

Link: https://realpython.com/podcasts/rpp/52/

Have you heard about NoSQL databases, or wondered how to use one with Python? How does MongoDB store information and what packages can you use to connect this type of database to your Python project?
Stack Abuse: Matplotlib: Draw Vertical Lines on Plot

Link: https://stackabuse.com/matplotlib-draw-vertical-lines-on-plot/

Introduction
Matplotlib is one of the most widely used data visualization libraries in Python. Much of Matplotlib's popularity comes from its customization options - you can tweak just about any eleme
Python for Beginners: User Defined Exceptions in Python

Link: https://www.pythonforbeginners.com/exceptions/user-defined-exceptions-in-python


When we write programs in python for real life applications, there are many constraints on the values which the variables can take in the program. For example, age cannot have a negative value. When
Anarcat: Securing my IRC (irssi, screen) session with dtach and systemd

Link: https://anarc.at/blog/2021-03-19-dtach-screen-security/

A recent vulnerability in GNU screen caused some people to
reconsider their commitment to the venerable terminal multiplexing
program, typically used by thousands of old sysadmins around the world
to
death and gravity: Deterministic hashing of Python data objects

Link: https://death.andgravity.com/stable-hashing

... in which we calculate deterministic hashes for Python data objects,
stable across interpreter versions and implementations.
If you're in a hurry,
you can find the final version of the code at the
Ben Cook: TorchVision transforms

Link: https://jbencook.com/torchvision-transforms/

TorchVision, a PyTorch computer vision package, has a great API for image pre-processing in its torchvision.transforms module. This post gives some basic usage examples, describes the API and shows yo
Ned Batchelder: Machete mode: tagging frames

Link: https://nedbatchelder.com/blog/202103/machete_mode_tagging_frames.html

I had a puzzle about Python execution today, and used a
machete-mode debugging trick to figure it
out. If you haven’t heard me use the term before, machete mode is when you use
gross temporary code t
Weekly Python StackOverflow Report: (cclxvii) stackoverflow python report

Link: http://python-weekly.blogspot.com/2021/03/cclxvii-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-03-20 19:43:26 GMTAttributeError: can't set attribute when connect
Talk Python to Me: #308 Docker for Python Developers (2021 Edition)

Link: https://talkpython.fm/episodes/show/308/docker-for-python-developers-2021-edition

Docker is one of the core elements of developing Python applications in consistent ways as well as running them across different hardware universally. On this episode, you'll meet Peter McKee from Doc
ABlog for Sphinx: ABlog Configuration Options

Link: https://ablog.readthedocs.org/manual/ablog-configuration-options/



This post describes ABlog configuration options that go in Sphinx build configuration file.

General options


blog_path
A path relative to the configuration directory for blog archive pages.
Defaul
Evennia: Where do I begin? (repost)

Link: http://evennia.blogspot.com/2021/03/this-is-repost-of-article-i-originally.html

This is a repost of an article I originally wrote for the Imaginary Realities e-zine, Volume 7, issue 3 back in 2015. It's not Evennia-specific but meant for a wider audience interested in making a te
ABlog for Sphinx: ABlog v0.10.14 released

Link: https://ablog.readthedocs.org/release/ablog-v0.10-released/#ablog-v0-10-14-released

ABlog v0.10.14 released
Python Circle: Multiple language support in Django application: Internationalization in Django

Link: https://pythoncircle.com/post/745/multiple-language-support-in-django-application-internationalization-in-django/

Multiple language support in Django application, translation of Django application, Django admin site translation, Model and field keys language translation in Django application, Translating your Dja
Python Pool: Best Ways to Use Python String __contains__() Method

Link: https://www.pythonpool.com/python-string-__contains__/?utm_source=rss&utm_medium=rss&utm_campaign=python-string-__contains__

Introduction
There are many ways to check if the substring is present on the main string in python in python. In that, one of the methods is Python String __contains__(). This method is used to check