Inspecting objects in Python

Pubblicato il: 14 novembre 2024
sul canale di: Python Morsels
643
39

I rely on 4 functions for inspecting Python objects: type(), help(), dir(), and vars().

Article at https://pym.dev/inspecting-python-obj...

More #Python screencasts at https://pym.dev/screencasts/

00:00 Inspecting an object's structure and data
00:55 How to see an object's class
01:25 Looking up documentation with help
02:19 Getting the methods and attributes for an object
02:51 Inspecting direct attributes of an object
03:54 Base classes, module paths, and more
04:34 Inspect Python objects with type, help, dir, and vars


In questa pagina del sito puoi guardare il video online Inspecting objects in Python della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Python Morsels 14 novembre 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 643 volte e gli è piaciuto 39 spettatori. Buona visione!