home | imprint | privacy

python tricks

useful knowledge

sabeiro

2026-09-07 Mon 00:00

Created: 2026-09-16 Wed 17:28

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)