Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Test and Code: 98: pytest-testmon - selects tests affected by changed files and methods - Tibor Arpas

Link: https://testandcode.com/98

pytest-testmon is a pytest plugin which selects and executes only tests you need to run. It does this by collecting dependencies between tests and all executed code (internally using Coverage.py) and
Python Circle: Solving Python Error- KeyError: 'key_name'

Link: https://www.pythoncircle.com/post/693/solving-python-error-keyerror-key_name/

Solving KeyError in python, How to handle KeyError in python dictionary, Safely accessing and deleting keys from python dictionary, try except Key error in Python
Real Python: Basic Data Types in Python

Link: https://realpython.com/courses/python-data-types/

In this step-by-step course, you’ll dig into the basic data types that are built into Python.
By the end of this course:

You’ll learn about several basic numeric, string, and Boolean types that are b
PyCoder’s Weekly: Issue #404 (Jan. 21, 2020)

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

#404 – JANUARY 21, 2020 View in Browser » Comparing Python, Go, and C++ on the N-Queens Problem (PDF) “Python currently is the dominant language in the field of Machine Learning but is often cri
Catalin George Festila: Python 3.7.5 : Use Django Formsets.

Link: http://python-catalin.blogspot.com/2020/01/python-375-use-django-formsets.html

Django Formsets manage the complexity of multiple copies of a form in a view.
This simplifies the task of creating a formset for a form that handles multiple instances of a model.
Let's start with my
EuroPython: EuroPython 2020: Pre-launch Website Ready

Link: https://blog.europython.eu/post/190400850572

In the last couple of weeks we have put together a pre-launch site for EuroPython 2020, which has all the information around the event, as we currently know and can share with you.https://ep2020.europ
PyCharm: PyCharm 2019.3.2

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

We’ve been taking some time to polish PyCharm further, so be sure to update to the newest version! You can get it from within PyCharm (Help | Check for Updates), using JetBrains Toolbox, or by downloa
Stack Abuse: Ensemble/Voting Classification in Python with Scikit-Learn

Link: https://stackabuse.com/ensemble-voting-classification-in-python-with-scikit-learn/

Introduction
Ensemble classification models can be powerful machine learning tools capable of achieving excellent performance and generalizing well to new, unseen datasets.
The value of an ensemble cl
Python Circle: Using IF ELSE condition in Django template

Link: https://www.pythoncircle.com/post/703/using-if-else-condition-in-django-template/

how to use IF ELSE in Django template, Syntax of IF, ELIF and ELSE in Django, Using filters within IF condition in Django template, Multiple elif (else if) confitions in Django template
Matt Layman: URLs Lead The Way

Link: https://www.mattlayman.com/understand-django/urls-lead-way/

In the last article in the Understand Django series, we saw how a user’s browser request goes from their browser to Django’s “front door.” Now it’s time to look at how Django processes those requests.
Tim Arnold / reachtim: The contextmanager Decorator

Link: https://reachtim.com/articles/the-contextmanager-decorator.html

Table of Contents
Table of contents:
Overview
Let’s Code
Create the Context Manager
Use the Context Manager




Overview

Generally, you create a context manager by creating a class with __enter__ and
Real Python: Python GUI Programming With Tkinter

Link: https://realpython.com/python-gui-tkinter/

Python has a lot of GUI frameworks, but Tkinter is the only framework that’s built into the Python standard library. Tkinter has several strengths. It’s cross-platform, so the same code works on Windo
Python Circle: Hello Word in Django: How to start with Django

Link: https://www.pythoncircle.com/post/26/hello-word-in-django-how-to-start-with-django/

Creating a hello world Django app, Starting the development of Django application in less than 5 minutes, How to start development in python Django, your first application in Django
Wing Tips: Using Black and YAPF Code Reformatting in Wing Python IDE

Link: https://wingware.com/blog/reformatting

Wing version 7.2 has been released, so in the
next couple Wing Tips we'll take a look at some of its
new features.
Wing 7.2 expands the options for automatic code reformatting to include also Black an
Davy Wybiral: ESP32-Cam Quickstart with Arduino Code

Link: https://davywybiral.blogspot.com/2020/01/esp32-cam-quickstart-with-arduino-code.html

Learn how to add a camera to your Arduino projects the easy way using one of these cheap ESP32-Cam modules. Great for pet cams, home surveillance, time lapses, and computer vision applications. 
Catalin George Festila: Python 3.7.5 : Django security issues - part 003.

Link: http://python-catalin.blogspot.com/2020/01/python-375-django-security-issues-part_22.html

Let's update this subject today with another new tutorial.
In the last tutorial about Django security I wrote about python package named django-axes.
First, let's fix an old issue about a URL pattern
Learn PyQt: PyQt5 plotting with matplotlib, embed plots in your GUI applications

Link: https://www.learnpyqt.com/courses/graphics-plotting/plotting-matplotlib/


In the previous part we covered plotting in PyQt5 using PyQtGraph. That library uses the Qt vector-based QGraphicsScene to draw plots and provides a great interface for interactive and high performan