Planet Python RSS
215 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python Morsels: Read-Only Attribute

Link: https://www.pythonmorsels.com/topics/read-only-attribute/

If you want to make a single attribute read-only on a class, the easiest way to do it is to make a property representing your attribute.
The Problem
Let's say we have a Thing class with value and colo
Mike Driscoll: wxPython by Example – Adding a Background Image (Video)

Link: https://www.blog.pythonlibrary.org/2020/09/22/wxpython-by-example-adding-a-background-image-video/

In this tutorial, you will learn how to add an image to your panel so that you have a background image to put your widgets on.

The post wxPython by Example – Adding a Background Image (Video) appeare
PyCoder’s Weekly: Issue #439 (Sept. 22, 2020)

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

#439 – SEPTEMBER 22, 2020 View in Browser » Git Internals: Learn by Building Your Own Git Master the basics of git by building your own version in Python using this creative and interactive tuto
Python Anywhere: How to use Ansible to update your Django web app

Link: https://blog.pythonanywhere.com/191/

Now, as you have overcome or evaded the reefs, shoals and swirls of initial development and deployment and your appetite
grows, you ask “How do I automate the update and restart of my web app when I c
Talk Python to Me: #283 Web scraping, the 2020 edition

Link: https://talkpython.fm/episodes/show/283/web-scraping-the-2020-edition

Web scraping is pulling the HTML of a website down and parsing useful data out of it. The use-cases for this type of functionality are endless. Have a bunch of data on governmental sites that are only
PyCharm: PyCharm 2020.3 EAP – Starts now!

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

The Early Access Program for our next major release, PyCharm 2020.3, is now open! If you are always looking forward to the next ‘big thing’ we encourage you to join the program and share your thoughts
Real Python: Python Community Interview With David Amos

Link: https://realpython.com/interview-david-amos/

This week I’m joined by David Amos, the content technical lead here at Real Python.
In this interview, we talk about David’s love of LEGO and mathematics. We also talk about the Python Basics book, w
Patrick Kennedy: Application and Request Contexts in Flask

Link: http://www.patricksoftwareblog.com/application-and-request-contexts-in-flask/

I wrote two blog posts on TestDriven.io about how the Application and Request contexts are handled in Flask:
Basics: Understanding the Application and Request Contexts in FlaskAdvanced: Deep Dive into
Andrew Dalke: Extracting two SDF data items with chemfp's text toolkit

Link: http://www.dalkescientific.com/writings/diary/archive/2020/09/23/extracting_two_sd_data_items.html



This is part of a series of essays about working with SD
files at the record and simple text level. In yesterday's essay I
showed several examples of using
chemfp's text toolkit API to process recor
The No Title® Tech Blog: Book review – Effective Python, by Brett Slatkin (and a free chapter for download)

Link: https://no-title.victordomingos.com/articles/2020/book_review_effective_python

Those among you who have already learned some Python or may even have used it in some projects will certainly have heard the expression “Pythonic Code”, which conveys a general and somewhat wide meani
Sebastian Witowski: Sorting Lists

Link: https://switowski.com/blog/sorting-lists


There are at least two common ways to sort lists in Python:

With sorted function that returns a new list
With list.sort method that modifies list in place

Which one is faster? Let’s find out!
sorte
Abhijeet Pal: Sending Email With Zip Files Using Python

Link: https://djangocentral.com/sending-email-with-zip-files-using-python/

In this tutorial, we will learn how to send emails with zip files using Python’s built-in modules. Pre-Requirements I am assuming that you already have an SMTP (Simple Mail Transfer Protocol ) server
Codementor: Is Python better than R for data science?

Link: https://www.codementor.io/digitalnarendra/is-python-better-than-r-for-data-science-1alruqsjj9

In this Article you are going to know Is Python better than R for data science.
https://nareshit.com/python-online-training/
Python Engineering at Microsoft: Python in Visual Studio Code – September 2020 Release

Link: https://devblogs.microsoft.com/python/python-in-visual-studio-code-september-2020-release/

We are pleased to announce that the September 2020 release of the Python Extension for Visual Studio Code is now available. You can  download the Python extension  from the Marketplace, or install it
Abhijeet Pal: Sending Emails With CSV Attachment Using Python

Link: https://djangocentral.com/sending-emails-with-csv-attachment-using-python/

In this tutorial, we will learn how to send emails with CSV attachments using Python. Pre-Requirements I am assuming you already have an SMTP server setup if not you can use the Gmail SMTP or Maligun
Python Insider: Python 3.8.6 is now available

Link: http://feedproxy.google.com/~r/PythonInsider/~3/1uMoG-StrAE/python-386-is-now-available.html

Python 3.8.6 is the sixth maintenance release of Python 3.8. Go get it here:https://www.python.org/downloads/release/python-386/ Maintenance releases for the 3.8 series will continue at regular bi-mon
Stack Abuse: Facial Detection in Python with OpenCV

Link: https://stackabuse.com/facial-detection-in-python-with-opencv/

Introduction
Facial detection is a powerful and common use-case of Machine Learning. It can be used to automatize manual tasks such as school attendance and law enforcement. In the other hand, it can
Matt Layman: Dynamically Regrouping QuerySets In Templates - Building SaaS #73

Link: https://www.mattlayman.com/building-saas/dynamically-regrouping-querysets/

In this episode, we worked on a new view to display course resources. While building out the template, I used some template tags to dynamically regroup a queryset into a more useful data format for re
PyCharm: Webinar: “virtualenv – a deep dive” with Bernat Gabor

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

virtualenv is a tool that builds virtual environments for Python. It was first created in September 2007 and just went through a rewrite from scratch. Did you ever want to know what parts virtual envi
PyBites: 10 Things We Picked Up From Code Reviewing

Link: https://pybit.es/code-reviewing.html

We originally sent the following 10 tips to our Friends List; we got requests to post it here for reference, so here you go ...
Ever wondered what you could learn from a code review?
Here are some thi