In a computer program, the main function is typically the starting point of a program.
On other platforms, main functions may be named differently. For example DllMain is used to designate the main function of a DLL and WinMain is the main function of a Windows GUI application.
int main(int argc, char *argv[], char *envp[]) { ... }
if __name__ == "__main__":
do stuff