Planet Python RSS
212 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python Software Foundation: PSF Scientific Working Group announces call for grant requests

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/ECxGlakBWOA/psf-scientific-working-group-announces.html

The Scientific Working Group of the Python Software Foundation is excited to announce a next call for funding proposals in 2020/2021. The goal of the Scientific Working Group is to advance the scope,
Martin Fitzpatrick: SAM Coupé SCREEN$ Converter — Interrupt optimizing image converter

Link: https://www.mfitzp.com/article/sam-coupe-image/

Ever found yourself wondering how to convert an image to SAM Coupé MODE 4 SCREEN$ format? No probably not, but I'm going to tell you anyway.
The SAM Coupé was a British 8 bit home computer that was pi
Python Morsels: Assigning to Global Variables

Link: https://www.pythonmorsels.com/topics/assigning-global-variables/





Transcript:
Let's talk about assigning to global variables in Python.
Variable assignments are local
Let's take a global variable (a variable defined outside of any function) called message:
>>> m
PyCharm: PyCharm 2021.1 EAP starts now!

Link: http://feedproxy.google.com/~r/Pycharm/~3/QGq9Z-G4mwY/

We are starting our new Early Access Program (EAP) for PyCharm 2021.1. You can now try the pre-release build of the upcoming v2021.1. It delivers enhanced support for Cython as well as UI and usabilit
Python⇒Speed: Speed up pip downloads in Docker with BuildKit's new caching

Link: https://pythonspeed.com/articles/docker-cache-pip-downloads/

Docker uses layer caching to speed up builds, but layer caching isn’t always enough.
When you’re rapidly developing your Python application and therefore frequently changing the list of dependencies,
Real Python: The Real Python Podcast – Episode #45: Processing Images in Python With Pillow

Link: https://realpython.com/podcasts/rpp/45/

Are you interested in processing images in Python? Do you need to load and modify images for your Flask or Django website or CMS? Then you most likely will be working with Pillow, the friendly fork of
Stack Abuse: How to Format Number as Currency String in Python

Link: https://stackabuse.com/format-number-as-currency-string-in-python/

Introduction
Having to manually format a number as a currency string can be a tedious process. You may have just a few lines of modifications to make, however, when we need to do a fair bit of convers
PyCharm: The Transition to Apple Silicon

Link: http://feedproxy.google.com/~r/Pycharm/~3/qui-IkjbVRM/

In June of last year, Apple announced that the Mac would transition to Apple’s own chips, called Apple Silicon. Here at PyCharm, this would mean major changes to the way we build our software. A chang
Daniel Roy Greenfeld: Recap of 2020 and Resolutions for 2021

Link:

Recap of 2020
I got a job saving the planet
For years I've been worried about climate change. I've tried to live a mostly ecologically friendly life, and this year I dived in with making compost for t
Ben Cook: Iterating over rows in Pandas

Link: https://jbencook.com/pandas-iterate-over-rows/

When you absolutely have to iterate over rows in a Pandas DataFrame, use the .itertuples() method.
Ben Cook: How to pad arrays in NumPy: Basic usage of np.pad() with examples

Link: https://jbencook.com/numpy-pad/

The np.pad() function has a complex, powerful API. But basic usage is very simple and complex usage is achievable!
Weekly Python StackOverflow Report: (cclxi) stackoverflow python report

Link: http://python-weekly.blogspot.com/2021/01/cclxi-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-01-30 15:03:53 GMTpip install failing on python2 - [21/3]Installin
John Cook: Python triple quote strings and regular expressions

Link: https://www.johndcook.com/blog/2021/01/30/python-triple-quote-regex/

There are several ways to quote strings in Python. Triple quotes let strings span multiple lines. Line breaks in your source file become line break characters in your string. A triple-quoted string in
Matt Layman: Are Django and Flask Similar?

Link: https://www.mattlayman.com/blog/2021/are-django-flask-similar/

Maybe you’re new to web development in Python, and you’ve encountered the two most popular Python web frameworks, Django and Flask, and have questions about which one you should use. Are Django and Fl
Juri Pakaste: Alfred Script Filter with find and jq

Link: https://juripakaste.fi/jq-alfred-script-filter/

Looks like this is a jq blog now, so here's another one.
I work on an iOS repository that's used to create a large number of apps and a few frameworks. Each app has a directory with configuration and