From realpython.com
non-public name | Python Glossary – Real Python
1 1
The name of a variable, function, method, or attribute that is intended for internal use within a module or a class.
8h ago
From realpython.com
How to Strip Characters From a Python String – Real Python
1 1
Use Python's .strip() method to remove unwanted whitespace or specific characters. Learn about common pitfalls, real-world use cases, and compare .strip() with similar methods like .lstrip() and .removesuffix().
8h ago
From realpython.com
min() | Python’s Built-in Functions – Real Python
1 1
Returns the smallest value in an iterable or series of arguments.
on Feb 16
From realpython.com
TabError | Python’s Built-in Exceptions – Real Python
0 1
Occurs when you mix tabs and spaces in your code indentation.
on Tue, 3PM
From realpython.com
Building a Code Image Generator With Python – Real Python
0 1
In this step-by-step video course, you'll build a code image generator that creates nice-looking images of your code snippets to share on social media. Your code image generator will be powered by the Flask web framework and include exciting packages like Pygments and Playwright.
on Tue, 3PM
From realpython.com
Python's Bytearray: A Mutable Sequence of Bytes – Real Python
0 1
In this tutorial, you'll learn about Python's bytearray, a mutable sequence of bytes for efficient binary data manipulation. You'll explore how it differs from bytes, how to create and modify bytearray objects, and when to use them in tasks like processing binary files and network protocols.
on Mon, 3PM
From realpython.com
PermissionError | Python’s Built-in Exceptions – Real Python
0 1
Occurs when an operation attempts to access a file or directory without the necessary permissions.
on Sun, 2PM
From realpython.com
Using Python's .__dict__ to Work With Attributes Quiz – Real Python
0 1
In this quiz, you'll test your understanding of Python's .__dict__ attribute and its usage in classes, instances, and functions. Acting as a namespace, this attribute maps attribute names to their corresponding values and serves as a versatile tool for metaprogramming and debugging.
on Fri, 7PM
From realpython.com
data structure | Python Glossary – Real Python
0 1
A way of organizing and storing data so that you can access and modify it efficiently.
on Fri, 2PM
From realpython.com
Introducing DuckDB – Real Python
0 0
In this showcase tutorial, you'll be introduced to a library that allows you to use a database in your code. DuckDB provides an efficient relational database that supports many features you may already be familiar with from more traditional relational database systems.
on Mar 26
From realpython.com
Python Set Comprehensions: How and When to Use Them Quiz – Real Python
0 0
In this quiz, you'll test your understanding of Python set comprehensions. Set comprehensions are a concise and quick way to create, transform, and filter sets in Python. They can significantly enhance your code's conciseness and readability compared to using regular for loops to process your sets.
on Mar 25
From realpython.com
GitHub Actions for Python Quiz – Real Python
0 0
In this quiz, you'll test your understanding of GitHub Actions for Python. By working through this quiz, you'll revisit how to use GitHub Actions and workflows to automate linting, testing, and deployment of a Python project.
on Mar 25
From realpython.com
Python's Instance, Class, and Static Methods Demystified Quiz – Real Python
0 0
In this quiz, you'll test your understanding of instance, class, and static methods in Python. By working through this quiz, you'll revisit the differences between these methods and how to use them effectively in your Python code.
on Mar 25
From realpython.com
Dictionaries in Python Quiz – Real Python
0 0
In this quiz, you'll test your understanding of Python's dict data type. By working through this quiz, you'll revisit how to create and manipulate dictionaries, how to use Python's operators and built-in functions with them, and how they're implemented for efficient data retrieval.
on Mar 25
From realpython.com
What Can You Do With Python? – Real Python
0 0
In this video course, you'll find a set of guidelines that will help you start applying your Python skills to solve real-world problems. By the end, you'll be able to answer the question, "What can you do with Python?"
on Mar 25
From realpython.com
Python Code Quality: Best Practices and Tools Quiz – Real Python
0 0
In this quiz, you'll test your understanding of Python code quality, tools, and best practices. By working through this quiz, you'll revisit the importance of producing high-quality Python code that's functional, readable, maintainable, efficient, and secure.
on Mar 24
From realpython.com
Python Code Quality: Best Practices and Tools – Real Python
0 0
In this tutorial, you'll learn about code quality and the key factors that make Python code high-quality. You'll explore effective strategies, powerful tools, and best practices to elevate your code to the next level.
on Mar 24
From realpython.com
ord() | Python’s Built-in Functions – Real Python
0 0
Returns an integer representing the Unicode code point of the character.
on Mar 24
From realpython.com
__import__() | Python’s Built-in Functions – Real Python
0 0
Returns the top-level package or module specified by name.
on Mar 23
From realpython.com
How to Strip Characters From a Python String Quiz – Real Python
0 0
In this quiz, you'll test your understanding of Python's .strip(), .lstrip(), and .rstrip() methods, as well as .removeprefix() and .removesuffix(). These methods are useful for tasks like cleaning user input, standardizing filenames, and preparing data for storage.
on Mar 22
From realpython.com
isinstance() | Python’s Built-in Functions – Real Python
0 0
Returns True if the input object is an instance of a given class, and False otherwise.
on Mar 22
From realpython.com
Episode #244: A Decade of Automating the Boring Stuff With Python – The Real Python Podcast
0 0
What goes into updating one of the most popular books about working with Python? After a decade of changes in the Python landscape, what projects, libraries, and skills are relevant to an office worker? This week on the show, we speak with previous guest Al Sweigart about the third edition of...
on Mar 21
From realpython.com
while | Python Keywords – Real Python
0 0
Defines a loop that executes a block of code as long as a specified condition remains true.
on Mar 20
From realpython.com
if | Python Keywords – Real Python
0 0
Starts a conditional statement that allows you to execute a code block only if a specified condition is true.
on Mar 19
From realpython.com
LangGraph: Build Stateful AI Agents in Python – Real Python
0 0
LangGraph is a versatile Python library designed for stateful, cyclic, and multi-actor Large Language Model (LLM) applications. This tutorial will give you an overview of LangGraph fundamentals through hands-on examples, and the tools needed to build your own LLM workflows and agents in LangGraph.
on Mar 19
From realpython.com
raise | Python Keywords – Real Python
0 0
Allows you to trigger exceptions manually when a particular error arises in your code.
on Mar 19
From realpython.com
Python's Bytearray Quiz – Real Python
0 0
In this quiz, you'll test your understanding of Python's bytearray data type. By working through this quiz, you'll revisit the key concepts and uses of bytearray in Python.
on Mar 19
From realpython.com
complex | Python’s Built-in Data Types – Real Python
0 0
A complex number.
on Mar 18
From realpython.com
Using Structural Pattern Matching in Python – Real Python
0 0
In this video course, you'll learn how to harness the power of structural pattern matching in Python. You'll explore the new syntax, delve into various pattern types, and find appropriate applications for pattern matching, all while identifying common pitfalls.
on Mar 18
From realpython.com
LangGraph: Build Stateful AI Agents in Python Quiz – Real Python
0 0
Take this quiz to test your understanding of LangGraph, a Python library designed for stateful, cyclic, and multi-actor Large Language Model (LLM) applications. By working through this quiz, you'll revisit how to build LLM workflows and agents in LangGraph.
on Mar 18
From realpython.com
Introducing DuckDB Quiz – Real Python
0 0
This quiz will challenge your knowledge of working with DuckDB. You won't find all the answers in the tutorial, so you'll need to do some extra investigation. By finding all the answers, you're sure to learn some interesting things along the way.
on Mar 18
From realpython.com
Python's Instance, Class, and Static Methods Demystified – Real Python
0 0
In this tutorial, you'll compare Python's instance methods, class methods, and static methods. You'll gain an understanding of when and how to use each method type to write clear and maintainable object-oriented code.
on Mar 17
From realpython.com
Improve Your Python With Python Tricks – Real Python
0 0
Get a short & sweet Python Trick delivered directly to your inbox every couple of days.
on Mar 17
From realpython.com
compile() | Python’s Built-in Functions – Real Python
0 0
Returns a code object that can be executed using exec() or evaluated with eval().
on Mar 17
From realpython.com
str | Python’s Built-in Data Types – Real Python
0 0
An immutable sequence of characters.
on Mar 17
From realpython.com
sum() | Python’s Built-in Functions – Real Python
0 0
Returns the sum of the start value and the values in the input iterable from left to right.
on Mar 16
From realpython.com
bool() | Python’s Built-in Functions – Real Python
0 0
Returns the truth value of any Python object as a Boolean value (True or False).
on Mar 16
From realpython.com
0 0
How can you simplify the management of your Python projects with one file? What are the advantages of using LazyFrames in Polars? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder's Weekly articles and projects.
on Mar 14
From realpython.com
slice() | Python’s Built-in Functions – Real Python
0 0
Returns a slice object that can be used to extract a portion of a sequence.
on Mar 13
From realpython.com
pow() | Python’s Built-in Functions – Real Python
0 0
Returns the power of a given base raised to a specific exponent.
on Mar 13
From realpython.com
Concurrency and Async Programming (Learning Path) – Real Python
0 0
Unlock Python's full potential with our concurrency and async programming path. Explore concurrency techniques, the Global Interpreter Lock, async IO, thread safety, and parallel processing to boost your program's performance.
on Mar 13
From realpython.com
Python Textual: Build Beautiful UIs in the Terminal – Real Python
0 0
Textual is a Python library for building text-based user interfaces (TUIs) that support rich text, advanced layouts, and event-driven interactivity in the terminal. This tutorial showcases some of the ways you can design an appealing and engaging UI using Textual.
on Mar 12
From realpython.com
and | Python Keywords – Real Python
0 0
A logical operator used to combine two expressions and return a truthy value if both expressions are true.
on Mar 12
From realpython.com
What Can I Do With Python? – Real Python
0 0
In this tutorial, you'll find a set of guidelines that will help you start applying your Python skills to real-world problems. By the end of your reading, you'll be able to answer the question "What can I do with Python?"
on Mar 12
From realpython.com
Getting to Know Duck Typing in Python – Real Python
0 0
In this video course, you'll learn about duck typing in Python---a type system based on an object's behavior rather than inheritance. By taking advantage of duck typing, you can create flexible and decoupled sets of Python classes that work together or independently.
on Mar 11
From realpython.com
max() | Python’s Built-in Functions – Real Python
0 0
Returns the largest value in an iterable or series of arguments.
on Mar 11
From realpython.com
abs() | Python’s Built-in Functions – Real Python
0 0
Returns a number’s absolute value, which is its distance from zero, regardless of its sign.
on Mar 11
From realpython.com
text encoding | Python Glossary – Real Python
0 0
The conversion of text data into a specific format that computers can store and manipulate.
on Mar 10
From realpython.com
duck typing | Python Glossary – Real Python
0 0
A type system where an object is considered compatible with a given type if it has all the methods and attributes that the type requires.
on Mar 10
From realpython.com
Python News Roundup: March 2025 – Real Python
0 0
Last month, Python published the fifth alpha version of the 3.14 series. The PSF shared their online platforms, and PyCon US 2025 published its schedule. Some fundamental Python projects, such as Django and IPython, also released new versions.
on Mar 10