Quantcast
Channel: Planet Python
Browsing all 23374 articles
Browse latest View live

Programiz: Python List

In this tutorial, we will learn about Python lists (creating lists, changing list items, removing items, and other list operations) with the help of examples.

View Article


Programiz: Python Program to Compute the Power of a Number

In this example, you will learn to compute the power of a number.

View Article


Programiz: Python Program to Create a Countdown Timer

In this example, you will learn to create a countdown timer.

View Article

Programiz: Python Program to Remove Duplicate Element From a List

In this example, you will learn to remove duplicate elements from a list.

View Article

Programiz: Python Program to Count the Number of Digits Present In a Number

In this example, you will learn to count the number of digits present in a number.

View Article


Programiz: Python Program to Check If Two Strings are Anagram

In this example, you will learn to check if two strings are anagram.

View Article

Programiz: Python Program to Count the Number of Occurrence of a Character in...

In this example, you will learn to count the number of occurrences of a character in a string.

View Article

Programiz: Python Program to Convert Bytes to a String

In this example, you will learn to convert bytes to a string.

View Article


Mike Driscoll: Python 3.13 Allows Disabling of the GIL + subinterpreters

Python 3.13 adds the ability to remove the Global Interpreter Lock (GIL) per PEP 703. Just this past week, a PR was merged in that allows the disabling of the GIL using a command line flag or an...

View Article


Python Does What?!: sequence unpack a dict

>>> a, b = {"a": 1, "b": 2} >>> a 'a'

View Article

Image may be NSFW.
Clik here to view.

Wingware: Wing Python IDE Version 10.0.3 - March 15, 2024

Wing 10.0.3 adds more control over AI request context, improves keyboard navigability on Windows, fixes folding failures seen in Python files, avoids failure to show debug process output in Debug I/O,...

View Article

Peter Bengtsson: Leibniz formula for π in Python, JavaScript, and Ruby

Different ways to calculate the value of π using the Leibniz formula

View Article

Python Does What?!: Wisdom for the ages

>>>type(type) is type True

View Article


PyCharm: Pytest vs. Unittest: Which Is Better?

Python, being a versatile and widely used programming language, offers several testing frameworks to facilitate the testing process. Two prominent choices are pytest and unittest, both of which come...

View Article

Real Python: The Real Python Podcast – Episode #196: Exploring Duck Typing in...

What are the advantages of determining the type of an object by how it behaves? What coding circumstances are not a good fit for duck typing? Christopher Trudeau is back on the show this week, bringing...

View Article


Robin Wilson: How to speed up appending to PostGIS tables with ogr2ogr

Summary: If appending to a PostGIS table with GDAL/OGR is taking a long time, try setting the PG_USE_COPY config option to YES (eg. adding --config PG_USE_COPY YES to your command line). This should...

View Article

Spyder IDE: Reusable research Birds of a Feather session at Scipy 2023:...

The Spyder team and collaborators hosted a Birds of a Feather (BoF) session at SciPy 2023, focused on moving beyond just scripts and notebooks toward truly reproducible, reusable research. In Part 1 of...

View Article


Python Software Foundation: Introducing PSF Grants Program Office Hours

In October 2023, we acknowledged the situation surrounding DjangoCon Africa and noted our intent to make ongoing improvements to the Grants Program. We also recognize that we are in a new world of...

View Article

Python Bytes: #374 Climbing the Python Web Mountain

<strong>Topics covered in this episode:</strong><br> <ul> <li><a...

View Article

Ned Batchelder: Does Python have pointers?

People sometimes ask, “Does Python have pointers?” I hate to be the typical senior engineer, but this is one of those questions where the answer is, it depends what you mean by pointer.The classic...

View Article
Browsing all 23374 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>