Exploring Keywords in Python (Overview)
Every programming language has special reserved words, or keywords, that have specific meanings and restrictions around how they should be used. Python is no different. Python keywords are the fundamental building blocks of any Python program.
In this video course, you’ll find a basic introduction to all Python keywords along with other resources that will be helpful for learning more about each keyword.
By the end of this video course, you’ll be able to:
- Identify Python keywords
- Understand what each keyword is used for
- Work with keywords programmatically using the
keyword
module
00:00 Welcome to Python Keywords. This is Philipp with Real Python, and today I will tell you a little bit about Python keywords.
00:11 This course doesn’t require you to program anything, so you can sit back, grab a bag of popcorn or a hot beverage of your choice, and enjoy this course. While you heat up your popcorn, let me tell you about the lessons of this course. In the first lesson, I will show you how to list all Python keywords. In lesson number two, I will explain what keywords actually are, what you can do with them, and what you can’t do with them. In lesson number three, you will categorize the keywords. In lesson number four, I will show you how you can programmatically identify keywords in your code.
00:54 And last but not least, we’ll talk a little bit about deprecated keywords.
Become a Member to join the conversation.