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

Real Python: Python Protocols: Leveraging Structural Subtyping

In Python, a protocol specifies the methods and attributes that a class must implement to be considered of a given type. Protocols are important in Python’s type hint system, which allows for static...

View Article


Python Bytes: #392 The votes have been counted

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

View Article


Real Python: Quiz: How Do You Choose Python Function Names?

In this quiz, you’ll test your understanding of how to choose Python function names.By working through this quiz, you’ll revisit the rules and conventions for naming Python functions and why they’re...

View Article

Image may be NSFW.
Clik here to view.

scikit-learn: Interview with Yao Xiao, scikit-learn Team Member

Author: Reshama Shaikh , Yao XiaoYao Xiao recently earned his undergraduate degree in mathematics and computer science. He will be pursuing a Master’s degree in Computational Science and Engineering...

View Article

Python Insider: Python 3.13.0 beta 4 released

I'm pleased to announce the release of Python 3.13 beta 4.https://www.python.org/downloads/release/python-3130b4/ This is a beta preview of Python 3.13Python 3.13 is still in development. This release,...

View Article


Quansight Labs Blog: The convoluted story behind `np.top_k`

In this blog post, I describe my experience as a first-time contributor to NumPy and talk about the story behind `np.top_k`.

View Article

Image may be NSFW.
Clik here to view.

PyBites: How to convert a Python script into a web app, a product others can use

So, you’re a Python developer or you just use Python to make your life easier by writing utility scripts to automate repetitive tasks and boost your productivity.Such Python scripts are usually local...

View Article

Real Python: Quiz: Python Strings and Character Data

This quiz will evaluate your understanding of Python’s string data type and test your knowledge about manipulating textual data with string objects. You’ll cover the basics of creating strings using...

View Article


Real Python: The Real Python Podcast – Episode #213: Constraint Programming...

What are discrete optimization problems? How do you solve them with constraint programming in Python? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder's Weekly...

View Article


PyPy: Mining JIT traces for missing optimizations with Z3

In my last post I've described how to use Z3 to find simple local peephole optimization patterns for the integer operations in PyPy's JIT. An example is int_and(x, 0) -> 0. In this post I want to...

View Article

Matt Layman: Activation Email Job - Building SaaS #196

In this episode, we chatted about managing dependencies and the cost of maintenance. Then we got into some feature work and began building a job that will send users an email as reminder to activate...

View Article

Image may be NSFW.
Clik here to view.

Python Morsels: Using "else" in a comprehension

While list comprehesions in Python don't support the else keyword directly, conditional expressions can be embedded within list comprehension.Table of contentsDo list comprehensions support else?But...

View Article

Python Software Foundation: Announcing the 2024 PSF Board Election &...

The 2024 election for the PSF Board and proposed Bylaws changes created an opportunity for conversations about the PSF's work to serve the global Python community. We appreciate community members'...

View Article


Python Software Foundation: PSF Board update on improvements to the PSF...

In December 2023 we received an open letter from a coalition of organizers from the pan-African Python community asking the PSF to address concerns and frustrations around our Grants Program. The...

View Article

Image may be NSFW.
Clik here to view.

Zato Blog: LDAP and Active Directory as Python API Services

LDAP and Active Directory as Python API Services 2024-07-22, by Dariusz Suchojad LDAP and Active Directory often play key a role in the management of a company's network resources yet it is not always...

View Article


Image may be NSFW.
Clik here to view.

Seth Michael Larson: YouTube without YouTube Shorts

YouTube without YouTube Shorts About• Blog• Newsletter• LinksYouTube without YouTube ShortsPublished 2024-07-22 by Seth Larson Reading time: minutes Back in October 2023 I wrote about how “For You”...

View Article

Image may be NSFW.
Clik here to view.

Real Python: Logging in Python

Recording relevant information during the execution of your program is a good practice as a Python developer when you want to gain a better understanding of your code. This practice is called logging,...

View Article


Talk Python to Me: #471: Learning and teaching Pandas

If you want to get better at something, often times the path is pretty clear. If you get better at swimming, you go to the pool and practice your strokes and put in time doing the laps. If you want to...

View Article

Image may be NSFW.
Clik here to view.

Peter Bengtsson: Converting Celsius to Fahrenheit round-up

In the last couple of days, I've created variations of a simple algorithm to demonstrate how Celcius and Fahrenheit seem to relate to each other if you "mirror the number". It wasn't supposed to be...

View Article

DataWars.io: Free AP Computer Science A Practice Exercises | DataWars

View Article
Browsing all 24360 articles
Browse latest View live


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