Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
"Mathspp Pydon'ts": Pass-by-value, reference, and assignment | Pydon't 🐍

Link: https://mathspp.com/blog/pydonts/pass-by-value-reference-and-assignment


When you call a function in Python and give it some arguments...
Are they passed by value? No!
By reference? No!
They're passed by assignment.

(If you are new here and have no idea what a Pydon't is
ItsMyCode: Graphviz’s executables not found

Link: https://itsmycode.com/graphvizs-executables-not-found/

ItsMyCode |
Graphviz is open source graph visualization software that helps represent structural information as diagrams of abstract graphs and networks. Sometimes, if you install this on windows with
Python for Beginners: Linear Search in Python

Link: https://www.pythonforbeginners.com/basics/linear-search-in-python

While programming, you must have encountered situations where we need to know the position of an element in a list. We can use the linear search algorithm for this purpose. In this article, we will im
Matt Layman: Command Your App

Link: https://www.mattlayman.com/understand-django/command-apps/

In the last Understand Django article, we dug into file management. We saw how Django handles user uploaded files and how to deal with them safely.
With this article, you’ll learn about commands. Comm
Sandro Tosi: Python: send emails with embedded images

Link: http://sandrotosi.blogspot.com/2020/12/python-sent-emails-with-embedded-images.html

to send emails with images you need to use MIMEMultipart, but the basic approach: import smtplibfrom email.mime.multipart import MIMEMultipartfrom email.mime.image import MIMEImagemsg = MIMEMultipart(
Anarcat: A Python contextmanager gotcha

Link: https://anarc.at/blog/2021-11-04-contextmanager-gotcha/

Dear lazy web...
I've had this code sitting around as a wtf.py for a while. I've been
meaning to understand what's going on and write a blog post about it
for a while, but I'm lacking the time. Now th
Python Bytes: #257 Python Launcher - Launching Python Everywhere

Link: https://pythonbytes.fm/episodes/show/257/python-launcher-launching-python-everywhere

<p><strong>Watch the live stream:</strong></p>

<a href='https://www.youtube.com/watch?v=Z_18H0DXJK0' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>

<p><strong>About the show</strong></p>
Talk Python to Me: #339: Making Python Faster with Guido and Mark

Link: https://talkpython.fm/episodes/show/339/making-python-faster-with-guido-and-mark

There has a been a bunch of renewed interested in making Python faster. While for some of us, Python is already plenty fast. For others, such as those in data science, scientific computing, and even t
Real Python: The Real Python Podcast – Episode #85: Exploring Django Templates, Tags, and Filters

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

Are you getting the most out of the Django framework? It's a powerful web framework if you're not interested in reinventing the wheel. Django includes a useful template system with inheritance for com
Python Insider: Python 3.9.8 and 3.11.0a2 are now available

Link: http://feedproxy.google.com/~r/PythonInsider/~3/uo3G1CE85vk/python-398-and-3110a2-are-now-available.html

Tcl/Tk updates
With the recent release of macOS 12 Monterey, we noticed that tkinter
file dialogs are failing to show up on this new operating system,
including in our built-in IDLE. Thanks to rapid
ItsMyCode: [Solved] NumPy.ndarray object is Not Callable Python

Link: https://itsmycode.com/solved-numpy-ndarray-object-is-not-callable-python/

ItsMyCode |
In Python, the array will be accessed using an indexing method. Similarly, the NumPy array also needs to be accessed through the indexing method. In this article, we will look at how to fi
Nicola Iarocci: Is Eve still maintained?

Link: https://nicolaiarocci.com/is-eve-still-maintained/

Tonight someone opened a ticket on the Eve repository. I jotted down a quick reply and was about to hit the Comment button when I thought a more articulated reply was in order. I also want it publishe
Weekly Python StackOverflow Report: (ccc) stackoverflow python report

Link: http://python-weekly.blogspot.com/2021/11/ccc-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-11-06 16:14:07 GMTAfter conda update, python kernel crashes when m
Podcast.__init__: Building Conversational AI to Augment Sales Teams at Structurely

Link: https://www.pythonpodcast.com/structurely-conversational-ai-sales-episode-339/

The true power of artificial intelligence is its ability to work collaboratively with humans. Nate Joens co-founded Structurely to create a conversational AI platform that augments human sales teams t
John Ludhi/nbshare.io: Tweet Sentiment Analysis Using LSTM With PyTorch

Link: https://www.nbshare.io/notebook/754493525/Tweet-Sentiment-Analysis-Using-LSTM-With-PyTorch/








Tweet Sentiment Analysis Using LSTM With PyTorch








We will go through a common case study (sentiment analysis) to explore many techniques and patterns in Natural Language Processing.
ItsMyCode: numpy.argmax() in Python

Link: https://itsmycode.com/numpy-argmax-in-python/

ItsMyCode |
The numpy.argmax() function returns the indices of the maximum values along an axis. In case of multiple occurrences of the maximum values, the indices corresponding to the first occurrenc
ItsMyCode: nxnxn matrix python

Link: https://itsmycode.com/nxnxn-matrix-python/

ItsMyCode |
In this tutorial, we will take a look at how to create the nxnxn matrix in Python.
What is NxNxN?
The term NxNxN (pronounced as N by N by N) is also called as NxNxN cube or NxNxN puzzle. I
Ned Batchelder: Computing a GitHub Action matrix with cog

Link: https://nedbatchelder.com/blog/202111/github_action_matrix_with_cog.html

I had a complex three-axis GitHub Action matrix, but needed to skip some
combinations. I couldn’t get what I needed with the direct YAML syntax, so I
used Cog to generate the matrix with
Python.The m
Mike Driscoll: PyDev of the Week: Sarah Gibson

Link: https://www.blog.pythonlibrary.org/2021/11/08/pydev-of-the-week-sarah-gibson/

This week we welcome Sarah Gibson (@drsarahlgibson) as our PyDev of the Week! Sarah is a core developer for Binder, JupyterHub, and The Turing Way. You can see what else she is contributing to over on