Defining Main Functions in Python
Video: .mp4 (1920x1080, 30 fps(r)) | Audio: aac, 44100 Hz, 2ch | Size: 65 MB
Genre: eLearning Video | Duration: 4 lectures (18 mins) | Language: English
Many programming languages have a special function that is automatically executed when an operating system starts to run a program. This function is usually called main() and must have a specific return type and arguments according to the language standard. On the other hand, the Python interpreter executes scripts starting at the top of the file, and there is no specific function that Python automatically executes.
Nevertheless, having a defined starting point for the execution of a program is useful for understanding how a program works. Python programmers have come up with several conventions to define this starting point.
By the end of this course, you'll understand:
What the special __name__ variable is and how Python defines it
Why you would want to use a main() in Python
What conventions there are for defining main() in Python
What the best practices are for what code to put into your main()
Download link:
- Citación :
rapidgator_net:
https://rapidgator.net/file/e8dd774501847ebb0a5a8c245daa776d/jq3yd.Defining.Main.Functions.in.Python.rar.html
nitroflare_com:
https://nitroflare.com/view/13CA1437621F2AB/jq3yd.Defining.Main.Functions.in.Python.rar
alfafile_net:
http://alfafile.net/file/8xADp/jq3yd.Defining.Main.Functions.in.Python.rar
Links are Interchangeable - No Password - Single Extraction