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

Image may be NSFW.
Clik here to view.

Mike Driscoll: PyDev of the Week: Eric Mendes

This week we welcome Eric Mendes as our PyDev of the Week! Eric is the author of unexpected-isaves. You can learn more about Eric is up to by visiting Eric’s GitHub Profile.Let’s spend a few moments...

View Article


Image may be NSFW.
Clik here to view.

Python for Beginners: Convert XML to Dictionary in Python

XML file format is used extensively to store and transmit data. While processing XML files in python, we need to convert them into a Python object such as a dictionary. This article discusses how to...

View Article


Real Python: Python News: What's New From January 2023

The new year has arrived, and January brought a flurry of new and interesting Python enhancement proposals (PEPs). Topics range from f-string formalization and no-GIL Python to packaging. There’s been...

View Article

death and gravity: Caching a lot of methods in Python

So, you're using a Python API client to get a bunch of data, and you need to cache results and retry on errors.You could write a wrapper class, but that's just one more thing to test and...

View Article

Talk Python to Me: #403: Fusion Ignition Breakthrough and Python

Imagine a world with free and unlimited clean energy. That's the musings of a great science fiction story. But nuclear fusion (the kind that powers the sun) has always been close at hand, we see the...

View Article


Image may be NSFW.
Clik here to view.

PyBites: My experience building a FastAPI + Streamlit app

I recently finished my time in the PDM program with Bob as my coach. This post focuses on how I made a back-end read-only database using FastAPI and a front-end using Streamlit along with the...

View Article

Codementor: Ways to Implement increment operator in C Language..

fundamentals of C programming series..

View Article

Glyph Lefkowitz: Data Classification

Is there a place for non-@dataclass classes in Python any more?I have previously — and somewhat famously — written favorably about @dataclass’s venerable progenitor, attrs, and how you should use it...

View Article


Python Bytes: #323 AI search wars have begun

<a href='https://www.youtube.com/watch?v=0SepAcVf5yg' style='font-weight: bold;'>Watch on YouTube</a><br> <br> <p><strong>About the show</strong></p>...

View Article


Django Weblog: Django security releases issued: 4.1.7, 4.0.10, and 3.2.18

In accordance with our security release policy, the Django team is issuing Django 4.1.7, Django 4.0.10, and Django 3.2.18. These releases addresses the security issue detailed below. We encourage all...

View Article

Ned Batchelder: Late initialization, reconsidered

A few days ago I posted Late initialization with mypy, and people gave me feedback, and I realized they were right. The placebo solution described there is clever, but too clever. It circumvents the...

View Article

Real Python: Getters and Setters in Python

If you come from a language like Java or C++, then you’re probably used to writing getter and setter methods for every attribute in your classes. These methods allow you to access and mutate private...

View Article

Everyday Superpowers: Use ABCs for less-restrictive type hints.

Many people, especially those new to type hints, write hints that make things harder for users. This article will give you one tool to make your code easier to use.Read more...

View Article


Image may be NSFW.
Clik here to view.

PyCoder’s Weekly: Issue #564 (Feb. 14, 2023)

#564 – FEBRUARY 14, 2023View in Browser »Monorepos in Python A monorepo is a source control pattern in some organizations where a single code repository is shared for many or all projects. This...

View Article

Codementor: DataTypes in C programming Language

fundamentals of C Programming series continued...

View Article


Python Software Foundation: The Case for a Second Developer-in-Residence for...

As the currently serving sole developer in residence, I’m often asked if there will be more people holding the same position in the future. I strongly believe there should be and that it’s crucial to...

View Article

Image may be NSFW.
Clik here to view.

Python for Beginners: Convert Python Dictionary to XML String or File

XML files are used to store and transmit data between the software systems. While developing software in python, you might also need to convert a python object to XML format for storing or transmitting...

View Article


Real Python: How to Flush the Output of the Python Print Function

Do you want to build a compact visual progress indicator for your Python script using print(), but your output doesn’t show up when you’d expect it to? Or are you piping the logs of your script to...

View Article

PyCon: PyCon US 2023 Schedule Launch!

The 2023 PyCon US schedule has been announced! With two decades of this event series under our belt, this year's conference is sure to be a memorable one. We’re looking forward to celebrating 20 years...

View Article

Codementor: Declaration Defination Invocation in the functions of C...

continuation in fundamentals of C programming series

View Article
Browsing all 24353 articles
Browse latest View live


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