[Solved] What is the difference between a module and a header file? [duplicate]


I think you meant libraries and modules For example: ‘import csv’) which is usually found in the beginning of your Python code. You can include them in the program with the “import ” just like header files in C++. So the difference is Libraries are a collection of modules written in C or Python and a module is a file containing Python definitions and statements. The file name is the module name with the suffix .py appended.

solved What is the difference between a module and a header file? [duplicate]