472,951 Members | 1,852 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,951 software developers and data experts.

where is help file?

new to Fedora7, typed python in interactive interpreter, then help(). Then
modules to get a list of modules. Then module name to get info on a module
but no help file. What is the help file name? Is there an environmental
variable I have to set? Thanks,
Paul
Sep 14 '07 #1
5 1474
On Fri, 2007-09-14 at 10:00 -0400, PaulS wrote:
new to Fedora7, typed python in interactive interpreter, then help(). Then
modules to get a list of modules. Then module name to get info on a module
but no help file. What is the help file name? Is there an environmental
variable I have to set?
There is no help file, and no environment variable. The help text is
stored directly inside each module and function that supplies a help
text. Observe:
>>def f(x):
.... "Calculate the square of x."
.... return x**x
....
>>help(f)
Help on function f in module __main__:

f(x)
Calculate the square of x.
(END)

Providing such a help text is optional, but all standard library modules
do provide help as far as I know. Consequently, the fact that you have a
module that doesn't provide a help text seems to indicate that it's not
a standard library module. What's the name of the module you're trying
to get help on?

Hope this helps (no pun intended),

--
Carsten Haese
http://informixdb.sourceforge.net
Sep 14 '07 #2
"Carsten Haese" schrieb
new to Fedora7, typed python in interactive interpreter, then
help().
Then modules to get a list of modules. Then module name to get
info
on a module but no help file. What is the help file name?
Is there an environmental variable I have to set?

There is no help file, and no environment variable. The help text
is
stored directly inside each module and function that supplies a
help
text. Observe:
>def f(x):
... "Calculate the square of x."
... return x**x
...
>help(f)
Help on function f in module __main__:

f(x)
Calculate the square of x.
(END)

Providing such a help text is optional, but all standard library
modules
do provide help as far as I know. Consequently, the fact that you
have a
module that doesn't provide a help text seems to indicate that
it's not
a standard library module. What's the name of the module you're
trying
to get help on?

Hope this helps (no pun intended),
AFAIK you have to import the module first, before you can get help
on that module.

HTH
Martin

Sep 14 '07 #3
On Fri, 2007-09-14 at 18:20 +0200, Martin Blume wrote:
AFAIK you have to import the module first, before you can get help
on that module.
While that is true of the help(module_name) form, this is not necessary
in the interactive helper you start by calling help().

--
Carsten Haese
http://informixdb.sourceforge.net
Sep 14 '07 #4
On 2007-09-14, Carsten Haese <ca*****@uniqsys.comwrote:
On Fri, 2007-09-14 at 18:20 +0200, Martin Blume wrote:
>AFAIK you have to import the module first, before you can get
help on that module.

While that is true of the help(module_name) form, this is not
necessary in the interactive helper you start by calling
help().
The interactive help function is cool. You need to download and
install the HTML version of the standard docs to take the utmost
advantage of it.

--
Neil Cerutti
Sep 14 '07 #5
Thanks everyone.
Paul
"Neil Cerutti" <ho*****@yahoo.comwrote in message
news:sl*******************@FIAD06.norwich.edu...
On 2007-09-14, Carsten Haese <ca*****@uniqsys.comwrote:
>On Fri, 2007-09-14 at 18:20 +0200, Martin Blume wrote:
>>AFAIK you have to import the module first, before you can get
help on that module.

While that is true of the help(module_name) form, this is not
necessary in the interactive helper you start by calling
help().

The interactive help function is cool. You need to download and
install the HTML version of the standard docs to take the utmost
advantage of it.

--
Neil Cerutti

Sep 14 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: jabailo | last post by:
I wrote a program that loops through a file of records. It parses each line in the file and sends them to a web service that inserts them into an AS400DB2 database using Asynch calls. This is...
5
by: Stephanie Stowe | last post by:
Imagine that I had this <webServices> <soapExtensionTypes> <add type="Microsoft.Web.Services.WebServicesExtension, Microsoft.Web.Services, Version=1.0.0.0, Culture=neutral,...
10
by: vwd2005eeb | last post by:
Visual Web Developer 2005 Express Edition Beta I did Build | Build Web site, where are the DLLs? I was expecting to see maybe one dll for each Web page in a directory (maybe still "bin") under...
1
by: rdemyan via AccessMonster.com | last post by:
I'm trying to implement a licensing scheme. There are three types of licenses: Trial - good for 30 to 60 days Interim - good for 1 year Fully Paid - no expiration Everything is working fine...
13
by: 010 010 | last post by:
I found this very odd and maybe someone can explain it to me. I was using fread to scan through a binary file and pull bytes out. In the middle of a while loop, for no reason that i could...
24
by: Paul | last post by:
I am taking over an existing app and having trouble understanding their references. They have encapsulated Pear packages in the directory structure like: /site /site/html/Pear.php...
3
by: v.davis2 | last post by:
Hi all, I am attempting to use Access97 as the database to hold the results of a python script. I seem to be able to make simple SELECT clauses work (like SELECT * FROM TableName), but have not...
2
by: jonathan184 | last post by:
Hi basically what i want this script to do is In a particular dir there are alot of files from today back to 1999 or earlier. So I am trying to have the script search this dir and sort the files...
1
lifeisgreat20009
by: lifeisgreat20009 | last post by:
In Turbo C there is a graphics.h file when we open the help section in turbo c. In this file there is a list and a well written description of all the graphics functions such as rectangle(),...
7
by: sara | last post by:
I have a friend doing some pro-bono work for a non-profit that does job training for distressed kids under DCSS care. He asked me for code to do the following (he's using A2003). I can't find...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.