Using Type Hints for Multiple Return Types in Python
Real Python
by Real Python
29m ago
In this video course, you'll learn how to define multiple return types using type hints in Python. This course covers working with single or multiple pieces of data, defining type aliases, and performing type checking using a third-party static type checker tool ..read more
Visit website
Syntactic Sugar: Why Python Is Sweet and Pythonic
Real Python
by Real Python
1d ago
In this tutorial, you'll learn what syntactic sugar is and how Python uses it to help you create more readable, descriptive, clean, and Pythonic code. You'll also learn how to replace a given piece of syntactic sugar with another syntax construct ..read more
Visit website
Quiz: Python Thread Safety: Using a Lock and Other Techniques
Real Python
by Real Python
1d ago
In this quiz, you'll test your understanding of Python thread safety. You'll revisit the concepts of race conditions, locks, and other synchronization primitives in the threading module. By working through this quiz, you'll reinforce your knowledge about how to make your Python code thread-safe ..read more
Visit website
The Real Python Podcast – Episode #223: Exploring the New Features of Python 3.13
Real Python
by Real Python
4d ago
Python 3.13 is here! Our regular guests, Geir Arne Hjelle and Christopher Trudeau, return to discuss the new version. This year, Geir Arne coordinated a series of preview articles with members of the Real Python team and a showcase tutorial, "Python 3.13: Cool New Features for You to Try." Christopher's video course "What's New in Python 3.13" covers the topics from the article and shows the new features in action ..read more
Visit website
Quiz: Structural Pattern Matching
Real Python
by Real Python
5d ago
In this quiz, you'll test your understanding of structural pattern matching in Python. This powerful control flow construct, introduced in Python 3.10, offers concise and readable syntax while promoting a declarative code style ..read more
Visit website
Build a Contact Book App With Python, Textual, and SQLite
Real Python
by Real Python
5d ago
In this tutorial, you'll be guided step by step through the process of building a basic contact book application. You'll use Python and Textual to build the application's text-based user interface (TUI), and then use SQLite to manage the database ..read more
Visit website
Quiz: Python Closures: Common Use Cases and Examples
Real Python
by Real Python
5d ago
In this quiz, you'll test your understanding of Python closures. Closures are a common feature in functional programming languages and are particularly popular in Python because they allow you to create function-based decorators ..read more
Visit website
Python News Roundup: October 2024
Real Python
by Real Python
1w ago
This month, Python 3.13 is being released. The new release brings exciting features like a new REPL and a version of Python without the global interpreter lock (GIL). In the community, DjangoCon US just wrapped up after a week of interesting tutorials and talks ..read more
Visit website
Quiz: Iterators and Iterables in Python: Run Efficient Iterations
Real Python
by Real Python
1w ago
In this quiz, you'll test your understanding of Python's iterators and iterables. By working through this quiz, you'll revisit how to create and work with iterators and iterables, the differences between them, and review how to use generator functions ..read more
Visit website
Quiz: Python import: Advanced Techniques and Tips
Real Python
by Real Python
1w ago
In this quiz, you'll test your understanding of Python's import statement and how it works. You'll revisit your understanding of how to use modules and how to import modules dynamically at runtime ..read more
Visit website

Follow Real Python on FeedSpot

Continue with Google
Continue with Apple
OR