0

what are the header files in python?

12th Oct 2016, 8:55 AM
Abhishek Kumar
Abhishek Kumar - avatar
3 Antworten
0
You can import header file by using keyword 'import'. Ex: import os import sys import datetime import smtp
12th Oct 2016, 6:35 PM
Pramod Lagare
Pramod Lagare - avatar
0
but what are os ,sys,datetime,and smtp?
13th Oct 2016, 5:22 AM
Abhishek Kumar
Abhishek Kumar - avatar
0
Header files can be imported to your code to extend your capabilities to use other functions and classes. It is trivial to import math header for example if you don't have own code to calculate square root of numbers when needed.
15th Oct 2016, 12:42 AM
Róbert Csomor
Róbert Csomor - avatar