Python 3.12 Beginner Tutorial - Lesson 27 - Documentation

Publié le: 20 mai 2024
sur la chaîne: Red Tea Infusion
197
6

Lesson 27 - Documentation
The dir() function in Python is used to list the attributes and methods of an object. When called without arguments, it returns the list of names in the current local scope.

The help() function provides the documentation of a given object, function, class, module, or keyword. It's an easy way to access Python’s documentation directly from the console.

_builtins_ is a reference to the built-in module that contains all the built-in functions, exceptions, and other objects that are always available in Python.

_doc_ is a special attribute that holds the documentation string (docstring) of an object, if it exists. It is commonly used to provide a description of a module, class, or function.

Built-in Functions = https://docs.python.org/3/library/fun...
Python Standard Library = https://docs.python.org/3/library/ind...

Full code: https://github.com/RedTeaInfusion/Pyt...
Repository: https://github.com/RedTeaInfusion/Pyt...


Sur cette page du site, vous pouvez voir la vidéo en ligne Python 3.12 Beginner Tutorial - Lesson 27 - Documentation durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Red Tea Infusion 20 mai 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 197 fois et il a aimé 6 téléspectateurs. Bon visionnage!