home | imprint | privacy

python tricks

useful knowledge

sabeiro

2026-09-07 lun 00:00

Created: 2026-11-03 mar 12:18

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)
postamble