Spiega documentation

python tricks
useful knowledge

python

Some useful usage for python.

attributes

I can access the methods of an object and run them

import os
dirL = dir(os)
for d in dirL:
    getattr(os,d)

Date: 2026-09-07 lun 00:00

Author: sabeiro

Created: 2026-11-03 mar 12:18

Validate