Open In App

Keyword Module in Python

Python provides an in-built module keyword that allows you to know about the reserved keywords of python.

The keyword module allows you the functionality to know about the reserved words or keywords of Python and to check whether the value of a variable is a reserved word or not. In case you are unaware of all the keywords of Python you can use this module to retrieve this information. Also, it helps you to check whether a word is a keyword or not just by using its functions on Python shell mode.



The functions of this module are:


Article Tags :