Planet Python RSS
214 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Mike Driscoll: Drawing Shapes on Images with Python and Pillow

Link: https://www.blog.pythonlibrary.org/2021/02/23/drawing-shapes-on-images-with-python-and-pillow/

Pillow provides a drawing module called ImageDraw that you can use to create simple 2D graphics on your Image objects. According to Pillow’s documentation, “you can use this module to create new image
Nicola Iarocci: Musings on Python's Pattern Matching

Link: https://nicolaiarocci.com/musings-on-pythons-pattern-matching/

Pattern Matching is coming to Python, and I am not sure I like it. Don’t get me wrong, I love pattern matching. I use it all the time in F#. I am sure that once it lands in the language, it will be wi
Python Software Foundation: Python Developers Survey 2020 Results: Learn about the Community

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/v6DGTOxHRDQ/python-developers-survey-2020-results.html

We are excited to share the results of the fourth official Python Developers Survey conducted by the Python Software Foundation with the help of JetBrains.More than 28,000 Python users from almost 200
PyCoder’s Weekly: Issue #461 (Feb. 23, 2021)

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

#461 – FEBRUARY 23, 2021 View in Browser » Python Concurrency: The Tricky Bits An exploration of threads, processes, and coroutines in Python, with interesting examples that illuminate the diffe
John Ludhi/nbshare.io: Python Lambda

Link: https://www.nbshare.io/notebook/47746562/Python-Lambda/








Python Lambda








The lambdas are anonymous one line functions in Python that can be used to perform tasks which don't require regular Python functions. Some of the most useful features of
Mike Driscoll: PySimpleGUI – How to Draw Shapes on an Image with a GUI

Link: https://www.blog.pythonlibrary.org/2021/02/24/pysimplegui-how-to-draw-shapes-on-an-image-with-a-gui/

Drawing shapes on images is neat. But wouldn’t it be nice if you could draw the shapes interactively? That is the point of this tutorial. You will create a user interface using PySimpleGUI to allow yo
Python Pool: Numpy Sin in Python with Illustrated Examples

Link: https://www.pythonpool.com/numpy-sin/?utm_source=rss&utm_medium=rss&utm_campaign=numpy-sin

Hello coders!! In this article, we will be learning about NumPy sin in Python. We will be looking into certain examples and will use the function in different ways. So, without wasting any moment, let
Real Python: Brython: Python in Your Browser

Link: https://realpython.com/brython-python-in-browser/

If you’re a web developer who prefers writing Python over JavaScript, then Brython, a Python implementation that runs in the browser, may be an appealing option.
JavaScript is the de facto language of
Python Bytes: #222 Autocomplete with type annotations for AWS and boto3

Link: https://pythonbytes.fm/episodes/show/222/autocomplete-with-type-annotations-for-aws-and-boto3

<p>Sponsored by <strong>Linode!</strong> <a href="https://pythonbytes.fm/linode"><strong>pythonbytes.fm/linode</strong></a></p>

<p>Special guest: Greg Herrera</p>

<p>YouTube live stream for viewers:
Ahmed Bouchefra: Django 3 Tutorial & CRUD Example with MySQL and Bootstrap

Link: https://efficientcoder.net/django-3-tutorial-and-crud-example-with-mysql-and-bootstrap/

Django 3 is released with full async support! In this tutorial, we’ll see by example how to create a CRUD application from scratch and step by step. We’ll see how to configure a MySQL database, enable
Montreal Python User Group: Montréal-Python 84 – Lucrative Olive

Link: https://montrealpython.org/en/2021/02/mp-84/

When March finally comes to an end, olive trees start flowering and with a bit a luck, the melting snow announces the start of the maple sugar season.
When conditions are good, olives and maples are k
Python⇒Speed: Transgressive Programming: the magic of breaking abstraction boundaries

Link: https://pythonspeed.com/articles/transgressive-programming/

You probably don’t want to be an asshole.
Being an asshole, as Siderea’s classic essay The Asshole Filter points out, is about being transgressive, about violating social boundaries and rules.
And so
PyBites: How to Produce More Content

Link: https://pybit.es/start-producing.html

As we mentioned the other day becoming a content provider is an essential skill to push your career forward.
We often hear people get overwhelmed by the amount of info out there, they get stuck in tut
Ben Cook: NumPy all: Understanding np.all()

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

The np.all() function tests whether all elements in a NumPy array evaluate to true.
Python Morsels: Everything is an object

Link: https://www.pythonmorsels.com/topics/everything-is-an-object/




Related article:

Transcript:
In Python, everything is an object.
Classes are objects
We have a class called Product:
class Product:

unknown_price = "Ask for details"

def __init__(self, n
Python Pool: Unzip a File in Python: 5 Scenarios You Should Know

Link: https://www.pythonpool.com/python-unzip/?utm_source=rss&utm_medium=rss&utm_campaign=python-unzip

If you are in the IT world for a while, you must know about the unzipping or extraction of a file. More than 70% of the files present on the internet are in the form of a zip file. There are various a