Skip to content

Instantly share code, notes, and snippets.

@arthurd2
Created October 8, 2023 00:32
Show Gist options
  • Select an option

  • Save arthurd2/0d7575998a80a4a3a0b928495654ae96 to your computer and use it in GitHub Desktop.

Select an option

Save arthurd2/0d7575998a80a4a3a0b928495654ae96 to your computer and use it in GitHub Desktop.
def printd( o ):
for atributo in dir(o):
valor = getattr(o, atributo)
tipo = type(valor)
print(f"Atributo: {atributo}, Valor: {valor}, Tipo: {tipo}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment