On 2/17/09, loial <jldunn2...@googlemail.com> 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

Reply via email to