[Tutor] Pydoc

2014-06-27 Thread Abbas Haider
Hello, i am having problem envoking pydoc from command line. I have a windows 8 os, and python 2.7.x , and python is properly installed, python shell opens after i type python in command line. But pydoc only opens in certain folders. Could you provide any detail on how to use it?

[Tutor] 'pydoc' is not recognized as an internal or external command, ...

2010-11-12 Thread R Johnson
Hello All, I'm currently attempting to work my way through Zed Shaw's Learn Python the Hard Way (suggested by co-workers) and have come across an instruction to: 1. In Terminal where you normally run python to run your scripts, type: pydoc raw_input. Read what it says. So in a terminal, at the

Re: [Tutor] 'pydoc' is not recognized as an internal or external command, ...

2010-11-12 Thread David Hutto
For what you're looking for you could use: help(raw_input) In the python terminal,meaning type python first. For pydoc on ubuntu in the command line, pydoc -p 1234 and then take your browser to http://localhost:1234, you might need to select the work offline mode. On windows IIRC it's about

Re: [Tutor] 'pydoc' is not recognized as an internal or external command, ...

2010-11-12 Thread Steven D'Aprano
R Johnson wrote: 'pydoc' is not recognized as an internal or external command, operable program or batch file. This means that the program pydoc is not installed on your computer, or is installed somewhere where the operating system (I'm guessing you're using Windows?) can't find it. Use

Re: [Tutor] 'pydoc' is not recognized as an internal or external command, ...

2010-11-12 Thread Jerry Hill
On Fri, Nov 12, 2010 at 6:44 PM, Steven D'Aprano st...@pearwood.info wrote: Use the Find File command, and see if you can find something called pydoc. You may need to call the full path to the program, e.g.: C:\My Documents\path\to\program\pydoc raw_input On my windows PC, it's

Re: [Tutor] 'pydoc' is not recognized as an internal or external command, ...

2010-11-12 Thread R Johnson
. From: Steven D'Aprano st...@pearwood.info To: tutor@python.org Sent: Fri, November 12, 2010 5:44:41 PM Subject: Re: [Tutor] 'pydoc' is not recognized as an internal or external command, ... R Johnson wrote: 'pydoc' is not recognized as an internal or external

[Tutor] pydoc?

2010-10-18 Thread Alex Hall
Hi all, Below is part of an email I got from someone in reply to a question about a program called brlapi. I am on Windows. Can someone explain what is going on here? email snip Hmm... I am relatively new to Python and have not found this pydoc. Well, I don't know how this is supposed to work on

Re: [Tutor] pydoc?

2010-10-18 Thread Alan Gauld
Alex Hall mehg...@gmail.com wrote about a program called brlapi. I am on Windows. Can someone explain what is going on here? email snip Hmm... I am relatively new to Python and have not found this pydoc. Well, I don't know how this is supposed to work on Windows. On Linux, you simply run

[Tutor] pydoc?

2010-06-18 Thread Andrew Martin
Hey, everyone, I am new to programming and just downloaded Python 2.6 onto my windows vista laptop. I am attempting to follow 4.11 of the tutorial called How to Think Like a Computer Scientist: Learning with Python v2nd Edition documentation (

Re: [Tutor] pydoc?

2010-06-18 Thread bob gailer
On 6/18/2010 1:53 PM, Andrew Martin wrote: Hey, everyone, I am new to programming and just downloaded Python 2.6 onto my windows vista laptop. I am attempting to follow 4.11 of the tutorial called How to Think Like a Computer Scientist: Learning with Python v2nd Edition documentation

Re: [Tutor] pydoc?

2010-06-18 Thread bob gailer
On 6/18/2010 1:53 PM, Andrew Martin wrote: Hey, everyone, I am new to programming and just downloaded Python 2.6 onto my windows vista laptop. I am attempting to follow 4.11 of the tutorial called How to Think Like a Computer Scientist: Learning with Python v2nd Edition documentation

Re: [Tutor] pydoc?

2010-06-18 Thread Lowell Tackett
From the virtual desk of Lowell Tackett --- On Fri, 6/18/10, Andrew Martin amartin7...@gmail.com wrote: From: Andrew Martin amartin7...@gmail.com Subject: [Tutor] pydoc? To: tutor@python.org Date: Friday, June 18, 2010, 1:53 PM Hey, everyone, I am new to programming and just downloaded

Re: [Tutor] pydoc?

2010-06-18 Thread Andrew Martin
Alright I got it. Although i didn't end up doing any typing. All I did was go to start/module docs and then press open browser. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options:

Re: [Tutor] pydoc?

2010-06-18 Thread Andrew Martin
On Fri, Jun 18, 2010 at 7:13 PM, Andrew Martin amartin7...@gmail.comwrote: Alright I got it. Although i didn't end up doing any typing. All I did was go to start/module docs and then press open browser. Thanks again and next time i will supply more info with the question

Re: [Tutor] pydoc introspecting info via OptionParser?

2008-03-15 Thread Neal McBurnett
On Fri, Mar 14, 2008 at 10:43:08AM -0700, Neal McBurnett wrote: I'm trying to do nice clean documentation for a python script I run from the command-line, and I'd like pydoc or a similar program to document it well. But I don't want to duplicate option information by putting it both in my

[Tutor] pydoc introspecting info via OptionParser?

2008-03-14 Thread Neal McBurnett
I'm trying to do nice clean documentation for a python script I run from the command-line, and I'd like pydoc or a similar program to document it well. But I don't want to duplicate option information by putting it both in my docstring and in optparse. I would think that pydoc might notice an

[Tutor] PyDoc problem

2005-09-23 Thread Christian Meesters
Hi, PyDoc is working well, if invoked without flags on the modul in question. But when I use it with '-w' to produce html-output, I get an extremely long Traceback after a runtime of an hour or two. Here is a short part from it: Traceback (most recent call last):   File /usr/bin/pydoc,

Re: [Tutor] PyDoc problem

2005-09-23 Thread Kent Johnson
Christian Meesters wrote: Hi, PyDoc is working well, if invoked without flags on the modul in question. But when I use it with '-w' to produce html-output, I get an extremely long Traceback after a runtime of an hour or two. Here is a short part from it:

Re: [Tutor] PyDoc problem

2005-09-23 Thread Christian Meesters
Hi Paul, works great and within a seond, if I just uncomment the scipy imports. This was easy, but without your help I still would stare at my screen and think it's hopeless. Thanks, Christian On 23 Sep 2005, at 13:18, paul brian wrote: THis sounds like a recursive import, which frankly