Re: [Tutor] Python referrence

2007-02-09 Thread Bob Gailer
johnf wrote: > Hi, > In the Visual Fox Pro world there is a help file that allows look ups / > searchs for functions, etc... just plain reference infomation. I.e. if I > were interested in the MAX() function I would just type Max() and get a page > that contained a description of how to use MAX

Re: [Tutor] Python referrence

2007-02-09 Thread Tim Johnson
On Friday 09 February 2007 04:15 pm, johnf wrote: > Is there a Python tool/document that is similar? Just a simple way to help > understand. I make use of /usr/local/lib/python2.5/pydoc.py (your path may be different, depending on OS and version) On linux, I invoke it as a "server" as p

Re: [Tutor] Python referrence

2007-02-09 Thread Kent Johnson
johnf wrote: > Hi, > In the Visual Fox Pro world there is a help file that allows look ups / > searchs for functions, etc... just plain reference infomation. I.e. if I > were interested in the MAX() function I would just type Max() and get a page > that contained a description of how to use MAX

Re: [Tutor] Python referrence

2007-02-09 Thread johnf
On Friday 09 February 2007 10:56, Christopher Arndt wrote: > Rikard Bosnjakovic schrieb: > > On 2/9/07, johnf <[EMAIL PROTECTED]> wrote: > >> Is there a Python tool/document that is similar? Just a simple way to > >> help understand. > > > > Yes, use the __doc__ property. > > Which is made a lot e

Re: [Tutor] Python referrence

2007-02-09 Thread Christopher Arndt
Rikard Bosnjakovic schrieb: > On 2/9/07, johnf <[EMAIL PROTECTED]> wrote: > >> Is there a Python tool/document that is similar? Just a simple way to help >> understand. > > Yes, use the __doc__ property. Which is made a lot easier by using the 'help' function in the interactive interpreter: >>

Re: [Tutor] Python referrence

2007-02-09 Thread Rikard Bosnjakovic
On 2/9/07, johnf <[EMAIL PROTECTED]> wrote: > Is there a Python tool/document that is similar? Just a simple way to help > understand. Yes, use the __doc__ property. >>> print list.__doc__ list() -> new list list(sequence) -> new list initialized from sequence's items >>> import os.path >>> pri

[Tutor] Python referrence

2007-02-09 Thread johnf
Hi, In the Visual Fox Pro world there is a help file that allows look ups / searchs for functions, etc... just plain reference infomation. I.e. if I were interested in the MAX() function I would just type Max() and get a page that contained a description of how to use MAX() and what it returned