On 2/17/09, loial <[email protected]> wrote: > > Is there anyway, having been passed a file handle, to get the > filename? > > I am assuming not, but thought I would ask
>>> a = open('/etc/passwd')
>>> a.name
'/etc/passwd'
>>>
Best regards,
Nop
-- http://mail.python.org/mailman/listinfo/python-list
