Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Toshio Kuratomi: Python, signal handlers, and exceptions

Link: https://anonbadger.wordpress.com/2018/12/15/python-signal-handlers-and-exceptions/

Never ever, ever raise a regular exception in a Python signal handler.
This is probably the best advice that I had never heard.  But after looking into an initial analysis of a timeout decorator bug i
Mahmoud Hashemi: Awesome Python Applications

Link: http://sedimental.org/awesome_python_applications.html

What we can learn from 180+ case studies on successfully shipping Python software.
If you're reading this (or hearing
this), you read and write code, probably
Python. And for all the code you've shipp
Ned Batchelder: A thing I learned about Python recursion

Link: https://nedbatchelder.com//blog/201812/a_thing_i_learned_about_python_recursion.html

Working on a programming challenge, I was surprised by something. I built
a tree structure with a recursive function. Then I tried to use a recursive
function to sum up some values across th
The Digital Cat: Python 3 OOP Part 4 - Polymorphism

Link: http://blog.thedigitalcatonline.com/blog/2014/08/21/python-3-oop-part-4-polymorphism/

This post is available as an IPython Notebook here
Good Morning, Polymorphism¶
The term polymorphism, in the OOP lingo, refers to the ability of an object to adapt the code to the type of the data it
Test and Code: 59: Genesynth, nox, urllib3, & PyCascades - Thea Flowers

Link: https://testandcode.com/59

Thea Flowers is a Pythonista and open source advocate. She helps empower developers of all backgrounds and experience levels using Python and open source software and hardware.
Thea is the creator of
Stack Abuse: Python Nested Functions

Link: https://stackabuse.com/python-nested-functions/

What is a Nested Function?
Functions are one of the "first-class citizens" of Python, which means that functions are at the same level as other Python objects like integers, strings, modules, etc. The
Django Weblog: DSF calls for applicants for a Django Fellow

Link: https://www.djangoproject.com/weblog/2018/dec/21/django-fellow-applicants/

After ten years of contributing to Django, four of which were paid as part of the Django Fellowship program, Tim Graham has decided to step down as a Django Fellow this spring to explore other things.
Catalin George Festila: Python Qt5 - simple draw with QPainter.

Link: http://python-catalin.blogspot.com/2018/12/python-qt5-simple-draw-with-qpainter.html

Using the QPainter is more complex than a simple example. I try to create a simple example in order to have a good look at how can be used.The main goal was to understand how can have the basic elemen
Anarcat: December 2018 report: archiving Brazil, calendar and LTS

Link: https://anarc.at/blog/2018-12-21-report/

Last two months free software work
Keen readers probably noticed that I didn't produce a report in
November. I am not sure why, but I couldn't find the time to do
so. When looking back at those past t
Trey Hunner: Why you should be using pathlib

Link: http://treyhunner.com/2018/12/why-you-should-be-using-pathlib/

When I discovered Python’s new pathlib module a few years ago, I initially wrote it off as being a slightly more awkward and unnecessarily object-oriented version of the os.path module.
I was wrong.
P
Continuum Analytics Blog: Anaconda Distribution 2018.12 Released

Link: https://www.anaconda.com/blog/developer-blog/anaconda-distribution-2018-12-released/

We are changing versioning in Anaconda Distribution from a major/minor version scheme to a year.month scheme. We made this change to differentiate between the open source Anaconda Distribution and Ana
codingdirectional: Create a thumbnail with pillow

Link: http://codingdirectional.info/2018/12/22/create-a-thumbnail-with-pillow/

Welcome back, in this article we will continue to use pillow to create a thumbnail from a jpeg picture and then save that thumbnail in the png format. Below code will first open a picture and then red
Weekly Python StackOverflow Report: (clvii) stackoverflow python report

Link: http://python-weekly.blogspot.com/2018/12/clvii-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2018-12-22 19:09:22 GMTGetting first n unique elements from Python list
Vasudev Ram: Dynamic function creation at run time with Python's eval built-in

Link: http://jugad2.blogspot.com/2018/12/dynamic-function-creation-at-run-time_23.html

By Vasudev RamHi, readers,A few days ago, I had published this post:Dynamic function creation at run time with Python's exec built-inIn today's post I'll show another way of dynamically creating funct
codingdirectional: Debug and run the python code online

Link: http://codingdirectional.info/2018/12/23/debug-and-run-the-python-code-online/

Hello and welcome to another python article, we are going to get some rest for a few days before starting a few examples again for another new python module. In these few days time, we will look at a
Mike Driscoll: PyDev of the Week: William Vincent

Link: http://www.blog.pythonlibrary.org/2018/12/24/pydev-of-the-week-william-vincent/

This week we welcome William Vincent (@wsv3000) as our PyDev of the Week! William is the author of 3 books on the Django web framework, including Django for Beginners. You can find out more about what
codingdirectional: How good you really are in python

Link: http://codingdirectional.info/2018/12/24/how-good-you-really-are-in-python/

Today I have paid a visit to codewars after a few months of abandoned it, once I arrive at this site I immediately go to work by solving a python related question. This question goes by this, given th
Python Insider: Python 3.7.2 and 3.6.8 are now available

Link: http://feedproxy.google.com/~r/PythonInsider/~3/o5ROzg9M8NY/python-372-and-368-are-now-available.html

Python 3.7.2 and 3.6.8 are now available.  Python 3.7.2 is the next maintenance release of Python 3.7, the latest feature release of Python.  You can find Python 3.7.2 here:



    https://www.python.