What is __name__ for in Python

What is the if __name__ condition in Python for? If you've seen __main__ at the end of a Python script and wondered why that is there it is to avoid side effects when importing and allowing you to run the file as a script on the terminal. If you want more details, watch this short video where w...

Descripción completa

Detalles Bibliográficos
Autor Corporativo: Pragmatic AI Solutions (Firm), publisher (publisher)
Otros Autores: Deza, Alfredo, presenter (presenter)
Formato: Video
Idioma:Inglés
Publicado: [Place of publication not identified] : Pragmatic AI Solutions [2022]
Edición:[First edition]
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009823036906719

Ejemplares similares