What is the purpose of a header file in a Python program?
Question :
What is the purpose of a header file in a Python program?
A header file provides a centralized location for the declaration of all extern variables, function prototypes, etc. Files that must use or define a variable or a function, include header file(s). By using header files, two main safeguards are provided.