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 Mon 00:00

Author: sabeiro

Created: 2026-09-16 Wed 17:28

Validate