Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Weekly Python StackOverflow Report: (ccxi) stackoverflow python report

Link: http://python-weekly.blogspot.com/2020/01/ccxi-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-01-19 12:01:13 GMTUse data in pandas data frames to match columns
Simple is Better Than Complex: How to Use Chart.js with Django

Link: https://simpleisbetterthancomplex.com/tutorial/2020/01/19/how-to-use-chart-js-with-django.html

Chart.js is a cool open source JavaScript library that helps you render HTML5 charts. It is responsive and counts with
8 different chart types.
In this tutorial we are going to explore a little bit of
Ionel Cristian Maries: Is there anything safe in python?

Link: https://blog.ionelmc.ro/2020/01/20/is-there-anything-safe-in-python/

In the process of working on Hunter I have found many strange things from merely trying to
do a repr on objects that are passed around. Code blowing up with an exception is the least of your concerns.
IslandT: Link together the Tkinter user interface and database Input class

Link: https://kibiwebgeek.com/link-together-the-tkinter-user-interface-and-database-input-class/

In this chapter, we will create the Input class which has a few methods used to create a database and the earning table as well as an insert method to insert earning values into that earning table. Af
Erik Marsja: How to Save a Seaborn Plot as a File (e.g., PNG, PDF, EPS, TIFF)

Link: https://www.marsja.se/how-to-save-a-seaborn-plot-as-a-file-e-g-png-pdf-eps-tiff/?utm_source=rss&utm_medium=rss&utm_campaign=how-to-save-a-seaborn-plot-as-a-file-e-g-png-pdf-eps-tiff

The post How to Save a Seaborn Plot as a File (e.g., PNG, PDF, EPS, TIFF) appeared first on Erik Marsja.
In this short post, we will learn how to save Seaborn plots to a range of different file form
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