Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Chris Moffitt: Using Markdown to Create Responsive HTML Emails

Link: https://pbpython.com/markdown-email.html


Introduction
As part of managing the PB Python newsletter, I wanted to develop a simple way to
write emails once using plain text and turn them into responsive HTML emails for the newsletter.
In addi
IslandT: Python class to create SQL database, table and submit values

Link: https://kibiwebgeek.com/python-class-to-create-sql-database-table-and-submit-values/

Let us continue with the final touch up of the python class uses to create SQL database and submits values to the SQL database’s earning table.
What we have modified from the previous Input class.
The
Wingware: Wing Python IDE 7.2 - January 20, 2020

Link: https://wingware.com/news/2020-01-20

Wing 7.2 adds auto-formatting with Black and YAPF, expanded support for virtualenv,
support for Anaconda environments, easier debugging of modules launched with python
-m, simplified manually configur
eGenix.com: Python Meeting Düsseldorf - 2020-01-22

Link: https://www.egenix.com/company/news/Python-Meeting-Duesseldorf-2020-01-22

The following text is in German, since we're announcing a regional user group meeting in Düsseldorf, Germany.

Ankündigung
Das nächste Python Meeting Düsseldorf findet an folgendem Termin statt:

22.0
James Bennett: Having some fun with Python

Link: https://www.b-list.org/weblog/2020/jan/20/fun/

The other day on a Slack I hang out in, someone posted an amusing line of Python code:
port = "{port}:{port}".format(port=port)

If it’s not clear after the inevitable Swedish-chef-muppet impression h
Real Python: Scientific Python: Using SciPy for Optimization

Link: https://realpython.com/python-scipy-cluster-optimize/

When you want to do scientific work in Python, the first library you can turn to is SciPy. As you’ll see in this tutorial, SciPy is not just a library, but a whole ecosystem of libraries that work tog
Podcast.__init__: Building A Business On Building Data Driven Businesses

Link: https://www.pythonpodcast.com/redash-data-driven-dashboards-episode-246/

In order for an organization to be data driven they need easy access to their data and a simple way of sharing it. Arik Fraimovich built Redash as a way to address that need by connecting to any data
Python Circle: Improving python code performance by using lru_cache decorator

Link: https://www.pythoncircle.com/post/702/improving-python-code-performance-by-using-lru_cache-decorator/

Store the result of repetitive python function calls in the cache, Improve python code performance by using lru_cache decorator, caching results of python function, memoization in python
Catalin George Festila: Python 3.7.5 : Django security issues - part 002.

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

The project can be found at this Github project.
Let's start with my default project and activate the env:
[mythcat@desk ~]$ cd projects/
[mythcat@desk projects]$ cd django/
[mythcat@desk django]$ sou
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