Jon Clements a écrit :
> Hi Group,
>
> If I have a CSV reader that's passed to a function, is it possible for
> that function to retrieve a reference to the "fileobj" like object
> that was passed to the reader's __init__? For instance, if it's using
> an actual file object, then depending on the
Jon> If I have a CSV reader that's passed to a function, is it possible
Jon> for that function to retrieve a reference to the "fileobj" like
Jon> object that was passed to the reader's __init__?
Nope, that isn't exposed from the C type.
Skip
--
http://mail.python.org/mailman/listin
Hi Group,
If I have a CSV reader that's passed to a function, is it possible for
that function to retrieve a reference to the "fileobj" like object
that was passed to the reader's __init__? For instance, if it's using
an actual file object, then depending on the current row, I'd like to
open the f