Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Robin Wilson: Easily hiding items from the legend in matplotlib

Link: http://blog.rtwilson.com/easily-hiding-items-from-the-legend-in-matplotlib/

When producing some graphs for a client recently, I wanted to hide some labels from a legend in matplotlib. I started investigating complex arguments to the plt.legend function, but it turned out that
S. Lott: Spreadsheet Regrets

Link: http://slott-softwarearchitect.blogspot.com/2019/10/spreadsheet-regrets.html

I can't emphasize this enough.Some people, when confronted with a problem, think“I know, I'll use a spreadsheet.”   Now they have two problems.(This was originally about regular expressions. And AWK.
Stack Abuse: Getting Started with Python PyAutoGUI

Link: https://stackabuse.com/getting-started-with-python-pyautogui/

Introduction
In this tutorial, we're going to learn how to use pyautogui library in Python 3. The PyAutoGUI library provides cross-platform support for managing mouse and keyboard operations through c
PyPy Development: PyPy's new JSON parser

Link: http://feedproxy.google.com/~r/PyPyStatusBlog/~3/AVZNUfFhOiI/pypys-new-json-parser.html



Introduction
In the last year or two I have worked on and off on making PyPy's
JSON faster, particularly when parsing large
JSON files. In this post I am going to document those techniques and
measu
PyBites: Linting with Flake8

Link: https://pybit.es/linting-with-flake8.html

For so long the word "Linting" meant nothing to me. It sounded like some supercoder leet speak that was way out of my league. Then I discovered flake8 and realised I was a fool.
This article is a simp
Brad Lucas: Book Squire Is Ten Years Old

Link: http://blog.bradlucas.com/posts/2019-10-07-book-squire-is-ten-years-old/

While releasing a new version of Book Squire the other day I realized that Book Squire is ten years old. What first started as a quickly developed application to solve a personal need has grown into o
Real Python: Get Started With Django: Build a Portfolio App

Link: https://realpython.com/courses/django-portfolio-project/

Django is a fully featured Python web framework that can be used to build complex web applications. In this course, you’ll jump in and learn Django by example. You’ll follow the steps to create a full
PyCharm: Webinar Preview: Project Setup for React+TS+TDD

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

Next Wednesday (Oct 16) I’m giving a webinar on React+TypeScript+TDD in PyCharm. Let’s give a little background on the webinar and spotlight one of the first parts covered.

Background
Earlier this ye
Codementor: Python-compatible IDEs: What is It and Why Do You Need It?

Link: https://www.codementor.io/djangostars/python-compatible-ides-what-is-it-and-why-do-you-need-it-zkqgd95v9

There is no better way to build in Python than by using an IDE (Integrated Development Environment). They not only make your work much easier as well as logical; they also enhance the coding...
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
Python Circle: 5 lesser used Django template tags

Link: https://www.pythoncircle.com/post/694/5-lesser-used-django-template-tags/

rarely used Django template tags, lesser-known Django template tags, 5 awesome Django template tags, Fun with Django template tags,
Rene Dudfield: post modern C tooling - draft 5

Link: http://renesd.blogspot.com/2019/09/post-modern-c-tooling.html

Contemporary C tooling for making higher quality C, faster or more safely.DRAFT 0 - 10/11/18,  DRAFT 1 - 9/16/19, 7:19 PM, I'm still working on this, but it's already useful and I'd like some feedback
PyCoder’s Weekly: Issue #389 (Oct. 8, 2019)

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

#389 – OCTOBER 8, 2019 View in Browser » Get Started With Django: Build a Portfolio App In this course, you’ll learn the basics of creating powerful web applications with Django, a Python web fr
Wingware News: Wing Python IDE 7.1.2 - October 7, 2019

Link: https://wingware.com/news/2019-10-08

Wing 7.1.2 adds a How-To for using Wing with Docker, allows disabling code warnings from
the tooltip displayed over the editor, adds support for macOS 10.15 (Catalina), supports
code folding in JSON f
Python Insider: Python 2.7.17 release candidate 1 available

Link: http://feedproxy.google.com/~r/PythonInsider/~3/egy-iA-4XaA/python-2717-release-candidate-1.html

A release candidate for the upcoming 2.7.17 bug fix release is now available for download.
Python Engineering at Microsoft: Announcing Support for Native Editing of Jupyter Notebooks in VS Code

Link: https://devblogs.microsoft.com/python/announcing-support-for-native-editing-of-jupyter-notebooks-in-vs-code/

With today’s October release of the Python extension, we’re excited to announce the support of native editing of Jupyter notebooks inside Visual Studio Code! You can now directly edit .ipynb files and
Python Engineering at Microsoft: Python in Visual Studio Code – October 2019 Release

Link: https://devblogs.microsoft.com/python/python-in-visual-studio-code-october-2019-release/

We are pleased to announce that the October 2019 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it dire
Ned Batchelder: Pytest-cov support for who-tests-what

Link: https://nedbatchelder.com//blog/201910/pytestcov_support_for_whotestswhat.html

I’ve added a new option to the pytest-cov
coverage plugin for pytest: --cov-context=test will set the dynamic context
based on pytest test phases. Each test has a setup, run, and teardown phase.
This
IslandT: Find the position of the only odd number within a list with Python

Link: https://kibiwebgeek.com/find-the-position-of-the-only-odd-number-within-a-list-with-python/

In this example, we will write a python function that will return the position of the only odd number within the number list. If there is no odd number within that list then the function will return -