[GRASS-user] loop in python's script ?

Hello

I want to schedule a script in python. I must make a loop on each of my polygon attribute table and create a buffer on each selected object. My problem is that I can't select the objects of my attribute table with a loop. Do you have a general script that could help me find a solution and create variables in Python?

Thank you for the tips

Yvan