Planet Python RSS
214 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Django Weblog: 2021 Malcolm Tredinnick Memorial Prize awarded to Adam Johnson

Link: https://www.djangoproject.com/weblog/2021/dec/17/2021-malcolm-tredinnick-memorial-prize-awarded-ada/

The Board of the Django Software Foundation is pleased to announce that the 2021 Malcolm Tredinnick Memorial Prize has been awarded to Adam Johnson.
Adam Johnson is a member of the Django Technical Bo
Test and Code: 173: Why NOT unittest?

Link: https://testandcode.com/173

In the preface of "Python Testing with pytest" I list some reasons to use pytest, under a section called "why pytest?". Someone asked me recently, a different but related question "why NOT unittest?".
ItsMyCode: Python String capitalize()

Link: https://itsmycode.com/python-string-capitalize/

ItsMyCode |
Python string capitalize() method will convert the first letter in a string to uppercase and keep the rest of the characters in lowercase. The capitalize() function does not modify the ori
ItsMyCode: Python String casefold()

Link: https://itsmycode.com/python-string-casefold/

ItsMyCode |
Python String casefold() method is used to implement caseless string matching. Case folding is similar to lowercasing but more aggressive because the casefold() function is more aggressive
ItsMyCode: Python String center()

Link: https://itsmycode.com/python-string-center/

ItsMyCode |
Python String center() method is a built-in function used to align the string to the center by filling the paddings to the left and right of the string with a specified fillchar(default fi
Weekly Python StackOverflow Report: (cccvi) stackoverflow python report

Link: http://python-weekly.blogspot.com/2021/12/cccvi-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2021-12-18 14:29:24 GMTCan a function and local variable have the same
ItsMyCode: Python String count()

Link: https://itsmycode.com/python-string-count/

ItsMyCode |
Python String count() method is a built-in function that returns the number of occurrences of a substring in the given string.
count() Syntax
The syntax of count() method is:
string.count(
Sandipan Dey: Environmental (Spatiotemporal) Data Analysis with Gaussian Processes

Link:

In this blog, we shall first discuss about how to use simulation techniques and then Gaussian Processes to analyze spatiotemporal data and make predictions. This problem appeared as homework / project
John Ludhi/nbshare.io: Stock Charts Detection Using Image Classification Model ResNet

Link: https://www.nbshare.io/notebook/628144649/Stock-Charts-Detection-Using-Image-Classification-Model-ResNet/

Stock Charts Detection Using Image Classification Model ResNet

Intro

This tutorial explores image classification in PyTorch using state-of-the-art computer vision mod
ItsMyCode: Python String encode()

Link: https://itsmycode.com/python-string-encode/

ItsMyCode |
Python String encode() method is a built-in function that takes an encoding type as an argument and returns the encoded version of a string as a bytes object. The default encoding is UTF-8
Podcast.__init__: The Technological, Business, and Sales Challenges Of Building The Ethical Ads Network

Link: https://www.pythonpodcast.com/ethical-ads-network-episode-344/

Whether we like it or not, advertising is a common and effective way to make money on the internet. In order to support the work being done at Read The Docs they decided to include advertisements on t
Mike Driscoll: PyDev of the Week: Martin Manns

Link: https://www.blog.pythonlibrary.org/2021/12/20/pydev-of-the-week-martin-manns/

This week we welcome Martin Manns as our PyDev of the Week! Martin is the creator of pyspread, "a non-traditional spreadsheet application that is based on and written in the programming language Pytho
Real Python: Dependency Management With Python Poetry

Link: https://realpython.com/dependency-management-python-poetry/

When your Python project relies on external packages, you need to make sure you’re using the right version of each package.
After an update, a package might not work as it did before the update.
A dep
Python for Beginners: How to Take User Input in Python

Link: https://www.pythonforbeginners.com/basics/how-to-take-user-input-in-python

While programming , we often need to take user input in our programs. In this article, we will look at different ways to take user input in python. We will discuss ways to take different python litera
Python Morsels: Overloading Equality in Python

Link: https://www.pythonmorsels.com/topics/overloading-equality-in-python/




In Python, you can customize what happens when you ask objects whether they're equal to each other.
The default implementation for equality is the same as identity
Here we have a Point class:
class
ItsMyCode: Python String startswith()

Link: https://itsmycode.com/python-string-startswith/

ItsMyCode |
Python String startswith() method is a built-in function that determines whether the given string starts with a specific sequence of characters. Let’s take a look at syntax and examples of
ItsMyCode: Python String endswith()

Link: https://itsmycode.com/python-string-endswith/

ItsMyCode |
Python String endswith() method is a built-in function that determines whether the given string ends with a specific sequence of characters. Let’s take a look at syntax and examples of the
ItsMyCode: Python String islower()

Link: https://itsmycode.com/python-string-islower/

ItsMyCode |
Python String islower() method is a built-in function that returns True if all the characters in the string are lowercase. If the string contains at least one uppercase character, the meth
ItsMyCode: Python String isupper()

Link: https://itsmycode.com/python-string-isupper/

ItsMyCode |
Python String isupper() method is a built-in function that returns True if all the characters in the string are uppercase. If the string contains at least one lowercase character, the meth