[blindprogramming] Re: Using pydoc from Terminal

  • From: "Mark Matthews" <mark.matthews53@xxxxxxxxxxxx>
  • To: <blindprogramming@xxxxxxxxxxxxx>
  • Date: Mon, 18 Jul 2011 19:08:32 +0100

Hi Jim.

Yes, from what I've seen being able to get a list using keywords with the -k 
option, the GUI or whatever is in use does seem fairly inaccessible.

I've also read that typing a keyword followed by Python is supposed to yields 
results. Maybe typing something, for example, like "python open() method" would 
work? I'm particularly interested in 'open()', specially used with the 'w' 
argument. The Python tutorial which I'm using attempts to get the student to 
get to grips with documentation, and generally finding information from square 
one which is good. Finding information which is accessible, and also more 
importantly comprehensive and factually correct is something different though. 
*Smile*

Mark
  ----- Original Message ----- 
  From: Homme, James 
  To: blindprogramming@xxxxxxxxxxxxx 
  Sent: Monday, July 18, 2011 6:35 PM
  Subject: [blindprogramming] Re: Using pydoc from Terminal


  Hi Mark,

  I have never gotten Pydoc to work for me. I think it uses an inaccessible 
GUI. You might want to get a Python interpreter prompt, then type the single 
word help. From there, you can get quick help on various things. The other 
thing that has worked pretty well for me is to get a couple of bookmarks in my 
browser set up to various parts of the Python documentation. 

   

  Is there something specific you want to read about?

   

  Thanks.

   

  Jim

   

  From: blindprogramming-bounce@xxxxxxxxxxxxx 
[mailto:blindprogramming-bounce@xxxxxxxxxxxxx] On Behalf Of Mark Matthews
  Sent: Monday, July 18, 2011 12:51 PM
  To: blindprogramming@xxxxxxxxxxxxx
  Subject: [blindprogramming] Using pydoc from Terminal

   

  Hi folks,

   

  I seem to be experiencing some issues with using pydoc.py from the Command 
Prompt. I've managed to locate the pydoc.py file in Python27\Lib, but despite 
numerous Google searches I can't seem to get the syntax right. I'm either told 
that the method I type in is not found, or that the syntax is incorrect. 
However what I have found out is it seems necessary to type in the .py 
extenssion prior to the query, else I get a message advising me that pydoc 
isn't a valid command.

   

  Is it worth getting accustomed to reading documentation from pydoc.py, as 
well as the material found in the Compiled HTML Help?

   

  Regards,

   

  Mark



------------------------------------------------------------------------------
  This e-mail and any attachments to it are confidential and are intended 
solely for use of the individual or entity to whom they are addressed. If you 
have received this e-mail in error, please notify the sender immediately and 
then delete it. If you are not the intended recipient, you must not keep, use, 
disclose, copy or distribute this e-mail without the author's prior permission. 
The views expressed in this e-mail message do not necessarily represent the 
views of Highmark Inc., its subsidiaries, or affiliates.

Other related posts: