Benoit BESSE wrote: > > Thanks a lots, yopu're right but you have to change > class bf(object): to class bf: Only if you're running on versions of Python prior to 2.2 or so... but it doesn't look like it will do any harm to leave it out in this case. -Peter