Re: reading help() - newbie question

2010-06-05 Thread Lie Ryan
On 06/05/10 21:24, Lie Ryan wrote: > On 05/31/10 20:19, Payal wrote: >> Hi, >> I am trying to learn Python (again) and have some basic doubts which I >> hope someone in the list can address. (English is not my first language and I >> have no CS background except I can write decent shell scripts) >>

Re: reading help() - newbie question

2010-06-05 Thread Lie Ryan
On 05/31/10 20:19, Payal wrote: > Hi, > I am trying to learn Python (again) and have some basic doubts which I > hope someone in the list can address. (English is not my first language and I > have no CS background except I can write decent shell scripts) > > When I type help(something) e.g. help(

Re: reading help() - newbie question

2010-06-05 Thread Gabriel Genellina
On 31 mayo, 07:19, Payal wrote: > When I type help(something) e.g. help(list), I see many methods like, > __methodname__(). Are these something special? How do I use them and why > put "__" around them? You may want to install and use "see", a human-friendly replacement of dir() So instead of t

Re: reading help() - newbie question

2010-05-31 Thread Payal
On Mon, May 31, 2010 at 08:41:54PM +1000, Xavier Ho wrote: > Welcome (back) to the Python-List! Thanks a lot to all who replied. Special thanks to Xavier Ho for sample examples on iterators. That cleared the doubt. With warm regards, -Payal -- -- http://mail.python.org/mailman/listinfo/python-

Re: reading help() - newbie question

2010-05-31 Thread Chris Rebert
On Mon, May 31, 2010 at 3:41 AM, Xavier Ho wrote: > On 31 May 2010 20:19, Payal wrote: >> When I type help(something) e.g. help(list), I see many methods like, >> __methodname__(). Are these something special? > > They're very special. You can think of them as "Python internal functions", > and

Re: reading help() - newbie question

2010-05-31 Thread Colin J. Williams
On 31-May-10 06:19 AM, Payal wrote: Hi, I am trying to learn Python (again) and have some basic doubts which I hope someone in the list can address. (English is not my first language and I have no CS background except I can write decent shell scripts) When I type help(something) e.g. help(list),

Re: reading help() - newbie question

2010-05-31 Thread Xavier Ho
On 31 May 2010 20:19, Payal wrote: > Hi, > I am trying to learn Python (again) and have some basic doubts which I > hope someone in the list can address. (English is not my first language and > I > have no CS background except I can write decent shell scripts) > > Welcome (back) to the Python-Lis