Prev: Most reliable/pythonic way to tell if an instance comes from a class implemented in C/etc?
Next: Internationalizing an application via Babel
From: Peng Yu on 24 May 2010 18:52 I mainly check online python manual. But I feel that it would be nice if there is command line manual available (just like perl command line manual). Could you please let me know if such command line manual available? -- Regards, Peng
From: Chris Rebert on 24 May 2010 19:10 On Mon, May 24, 2010 at 3:52 PM, Peng Yu <pengyu.ut(a)gmail.com> wrote: > I mainly check online python manual. But I feel that it would be nice > if there is command line manual available (just like perl command line > manual). Could you please let me know if such command line manual > available? 98% sure that there isn't. You could instead use a text-based console web browser such as lynx to view the online docs to much the same effect though. Cheers, Chris
From: Steven D'Aprano on 24 May 2010 20:06 On Mon, 24 May 2010 17:52:13 -0500, Peng Yu wrote: > I mainly check online python manual. But I feel that it would be nice if > there is command line manual available (just like perl command line > manual). Could you please let me know if such command line manual > available? From the shell, you can call: python --help If you are using Linux, your distro probably has also installed the Python man pages, which you access with either of: man python info python And from inside the Python interactive interpreter, you can call help(obj) to get help on any object, or just help() to enter an interactive help session. -- Steven
From: Asun Friere on 24 May 2010 21:48 On May 25, 8:52 am, Peng Yu <pengyu...(a)gmail.com> wrote: > I mainly check online python manual. But I feel that it would be nice > if there is command line manual available (just like perl command line > manual). Could you please let me know if such command line manual > available? > > -- > Regards, > Peng It's not really a manual, but if you want the documentation written into a module try 'pydoc <module>'. This is gives you the same output as you get running help(<module>) in the python shell.
From: Vito 'ZeD' De Tullio on 25 May 2010 01:15
Peng Yu wrote: > I mainly check online python manual. But I feel that it would be nice > if there is command line manual available (just like perl command line > manual). Could you please let me know if such command line manual > available? pydoc? -- By ZeD |