* Cantinho Satkeys

Refresh History
  • bruno mirandela: boa noite todos boa semana
    10 de Fevereiro de 2026, 21:42
  • FELISCUNHA: cereal killa  Boa noite amigo , eu percebi , aquele abraço  101041
    10 de Fevereiro de 2026, 20:48
  • cereal killa: boas feliscunha  49E09B4F, t5r76 so dava mais jeito  p0i8l p0i8l
    10 de Fevereiro de 2026, 19:04
  • FELISCUNHA: cereal killa   Já mudaste de clube ???   535reqef34
    10 de Fevereiro de 2026, 11:41
  • FELISCUNHA: Bom dia pessoal  49E09B4F
    10 de Fevereiro de 2026, 11:39
  • cereal killa: try65hytr raio da chuva nao acaba  3w45r  9Scp0 9Scp0
    09 de Fevereiro de 2026, 20:18
  • worrierblack: 4tj97u<z
    09 de Fevereiro de 2026, 03:09
  • worrierblack: hello
    09 de Fevereiro de 2026, 03:09
  • worrierblack: hello
    09 de Fevereiro de 2026, 03:09
  • FELISCUNHA: Votos de um santo domingo para todo o auditório  4tj97u<z
    08 de Fevereiro de 2026, 11:39
  • j.s.: tenham um bom fim de semana,   49E09B4F 49E09B4F
    07 de Fevereiro de 2026, 14:31
  • j.s.: dgtgtr a todos  49E09B4F
    07 de Fevereiro de 2026, 14:30
  • FELISCUNHA: ghyt74  pessoall 49E09B4F
    06 de Fevereiro de 2026, 12:00
  • JPratas: try65hytr A Todos  4tj97u<z  2dgh8i k7y8j0 classic
    06 de Fevereiro de 2026, 05:17
  • joca34: ola amigos alguem tem este cd Ti Maria da Peida -  Mãe negra
    05 de Fevereiro de 2026, 16:09
  • FELISCUNHA: ghyt74  pessoal   49E09B4F
    03 de Fevereiro de 2026, 11:46
  • Robi80g: CIAO A TUTTI
    03 de Fevereiro de 2026, 10:53
  • Robi80g: THE SWAP FILM WALT DISNEY
    03 de Fevereiro de 2026, 10:50
  • Robi80g: SWAP
    03 de Fevereiro de 2026, 10:50
  • j.s.: dgtgtr a todos  49E09B4F
    02 de Fevereiro de 2026, 16:50

Autor Tópico: Defining Main Functions in Python  (Lida 230 vezes)

0 Membros e 1 Visitante estão a ver este tópico.

Offline mitsumi

  • Sub-Administrador
  • ****
  • Mensagens: 129146
  • Karma: +0/-0
Defining Main Functions in Python
« em: 21 de Outubro de 2020, 10:07 »

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:
Só visivel para registados e com resposta ao tópico.

Only visible to registered and with a reply to the topic.

Links are Interchangeable - No Password - Single Extraction