Re: rfile.readline()

2010-08-28 Thread Dave Angel
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

Re: rfile.readline()

2010-08-28 Thread Chris Rebert
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

Re: rfile.readline()

2010-08-28 Thread Peter Otten
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

rfile.readline()

2010-08-27 Thread sarah
i want to know that what this function returns??? and what does this function do?? -- http://mail.python.org/mailman/listinfo/python-list