sarah wrote:
i want to know that what this function returns???
and what does this function do??
rfile.readline()
No way to tell what the function returns from your subject line.
As for what calling it does, that depends entirely on the object rfile.
If it's an instance of a clas
On Fri, Aug 27, 2010 at 10:57 PM, sarah wrote:
> i want to know that what this function returns???
>
> and what does this function do??
RTFM:
http://docs.python.org/tutorial/inputoutput.html#methods-of-file-objects
Honestly, it's the 2nd google hit for "python readline".
Regards,
Chris
--
http
sarah wrote:
> i want to know that what this function returns???
> and what does this function do??
Where do you get rfile from?
The readline() function (or method) could read one line from a file (likely)
or wipe your harddisk (unlikely). Without some context it is impossible to
tell.
Peter
i want to know that what this function returns???
and what does this function do??
--
http://mail.python.org/mailman/listinfo/python-list