<br><div><span class="gmail_quote">On 2/17/09, <b class="gmail_sendername">loial</b> <<a href="mailto:jldunn2000@googlemail.com">jldunn2000@googlemail.com</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
Is there anyway, having been passed a file handle, to get the<br> filename?<br><br> I am assuming not, but thought I would ask</blockquote><div><br></div></div>>>> a = open('/etc/passwd')<br>>>> <a href="http://a.name">a.name</a><br>
'/etc/passwd'<br>>>> <br><br>Best regards,<br>Nop<br> <br>