Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python Pool: 5 Ways to Find the list max index in Python

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

The post 5 Ways to Find the list max index in Python appeared first on Python Pool.
A list is a data structure in python which is used to store items of multiple data types. Because of that, it is con
Stack Abuse: Python: How to Remove a Character from a String

Link: https://stackabuse.com/python-how-to-remove-a-character-from-a-string

Introduction
In this guide, we'll take a look at how to remove a character from a string in Python.
Strings, and especially user-generated input may contain unwanted characters, such as special charac
Python for Beginners: How to Comment Out a Block of Code in Python

Link: https://www.pythonforbeginners.com/comments/how-to-comment-out-a-block-of-code-in-python


Programming with Python is exciting. Writing code and sharing it with others can lead to amazing things. But before our programs can grow, we need to make sure they are easy to read. That’s why progr
Real Python: The Square Root Function in Python

Link: https://realpython.com/courses/square-root-function-python/

Are you trying to solve a quadratic equation? Maybe you need to calculate the length of one side of a right triangle. You can use the math module’s sqrt() method for determining the square root of a n
death and gravity: Why I wrote my own SQL query builder (in Python)

Link: https://death.andgravity.com/own-query-builder

Previously
This is the third article in a series about
writing an SQL query builder in 150 lines of Python.
Today, we'll talk about:

why I decided to write my own
the alternatives I considered
why I
Python Morsels: How to write a generator expression

Link: https://www.pythonmorsels.com/topics/how-write-generator-expression/




Transcript
Let's make a generator expression.
Writing a generator expression
Here we have a list and a list comprehension that loops over that list:
>>> numbers = [2, 1, 3, 4, 7, 11, 18]
>>> square
Mike Driscoll: Learn to Code by Solving Problems eBook Contest

Link: https://www.blog.pythonlibrary.org/2021/07/13/learn-to-code-by-solving-problems-ebook-contest/

No Starch Press has partnered with Mouse vs Python to bring you an eBook contest for Learn to Code by Solving Problems: A Python Programming Primer by Daniel Zingaro.

There will be 5 winners. To ente
PyCharm: Webinar: “Simple, Fast Frontends with htmx” with Carson Gross

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

The web has changed in recent years. Modern websites mean lots of JavaScript on the frontend, sometimes supplanting HTML all together. You’re left with a pile of npm dependencies, wondering if it will
PyCoder’s Weekly: Issue #481 (July 13, 2021)

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

#481 – JULY 13, 2021 View in Browser » One Database Transaction Too Many Learn how a bug was born — one that resulted in hundreds of users of an application getting a notification that they had
Podcast.__init__: Exploring The SpeechBrain Toolkit For Speech Processing

Link: https://www.pythonpodcast.com/speechbrain-deep-learning-speech-toolkit-episode-323/

With the rising availability of computation in everyday devices, there has been a corresponding increase in the appetite for voice as the primary interface. To accomodate this desire it is necessary f
Juri Pakaste: Converting between NSBezierPath and CGPath

Link: https://juripakaste.fi/nzbezierpath-cgpath/

The macOS SDK ships with at least two graphics path types: NSBezierPath and CGPath. They are mostly used in different contexts but sometimes it would be useful to convert between them. On iOS UIBezier
Python for Beginners: Python Literals

Link: https://www.pythonforbeginners.com/basics/python-literals


While reading materials for programming in python, you must have encountered certain phrases like keywords, variables, constants and literals. In this article, we will study the underlying concepts
Stack Abuse: Creating and Parsing Datetime in Python with Delorean

Link: https://stackabuse.com/creating-and-parsing-datetime-in-python-with-delorean

Introduction
Working with datetime can be a bit daunting and challenging, and handling datetime in Python is no exception. Python's built-in datetime module introduced us to several classes - date, d
Real Python: Use FastAPI to Build Web APIs

Link: https://realpython.com/fastapi-python-web-apis/

Creating APIs, or application programming interfaces, is an important part of making your software accessible to a broad range of users. In this tutorial, you will learn the main concepts of FastAPI a
Python Circle: Adding Email Subscription Feature in Django Application

Link: https://pythoncircle.com/post/657/adding-email-subscription-feature-in-django-application/

email subscription feature in django, sending email subscription confirmation mail in django, sending email unsubscribe email in Django, Add subscription feature in Django
Doug Hellmann: sphinxcontrib-datatemplates 0.9.0

Link: http://feeds.doughellmann.com/~r/doughellmann/python/~3/73EzZiE30kM/

What’s new in 0.9.0? Added a resolve_any_xref() method to DataTemplateDomain to support Markdown via the myst-parser extension #82 (contributions by Manuel Racle)
Python Bytes: #242 from lib import * but less

Link: https://pythonbytes.fm/episodes/show/242/from-lib-import-but-less

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

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

<p><strong>About the show</strong></p>
John Ludhi/nbshare.io: String And Literal In Python 3

Link: https://www.nbshare.io/notebook/775177178/String-And-Literal-In-Python-3/








String And Literal In Python 3








In this notebook, I will talk about basics of string and Literal in Python. Following notebook has been built using Python3.6








Let us start with Py
Python Circle: Text to QR code image and QR code image to text generator in Python Django

Link: https://pythoncircle.com/post/749/text-to-qr-code-image-and-qr-code-image-to-text-generator-in-python-django/

QR code image to text generator in Python Django, Text to QR code image generator in Python Django, Implementing QR code generator in Python Django. Serving static files in Django media