J. D. Leach [EMAIL PROTECTED] wrote:
Peter Otten wrote:
You are getting no match rather than the wrong one. Have you verified that
a subdirectory
/usr/share/doc/python-2.4/html/lib
exists on your system? If not, the documentation may not be properly
installed.
I checked it Peter and
On Mon, 02 Jan 2006 04:33:44 GMT,
J. D. Leach [EMAIL PROTECTED] wrote:
... This is in spite of my setting the .bash profile correctly. As it
stands, I am at a loss for how to fix the problem ...
As a long shot, and I don't mean to insult anyone, but what is the name
of your .bash profile, and
J. D. Leach wrote:
I'm lost. Surely I've missed something simple.
Maybe you can look in the source. help is an object defined by
site.py to be a Helper object from pydoc.py. Look in your Python lib
folder for pydoc.py and you should be able to trace through and find the
source of the
J. D. Leach wrote:
found online. However, neither of my Python installations (2.4
in /usr/bin/, and 2.4.2 in /usr/local/bin/) recognize the existence of the
html docs. The following error from within the Python shell yields the
same result:
Then when I enter the os.environ.get('PYTHONDOCS
Peter Otten wrote:
What do you get if you do
import pydoc
pydoc.help.docdir
'/should/be/path/to/docs'
The response is:
import pydoc
print pydoc.help.docdir
None
Obviously not there.
I believe there is a bug in the documentation-finding code. With the
current logic PYTHONDOCS
J. D. Leach wrote:
The response is:
import pydoc
print pydoc.help.docdir
None
Obviously not there.
You are getting no match rather than the wrong one. Have you verified that a
subdirectory
/usr/share/doc/python-2.4/html/lib
exists on your system? If not, the documentation may not be
Peter Otten wrote:
You are getting no match rather than the wrong one. Have you verified that
a subdirectory
/usr/share/doc/python-2.4/html/lib
exists on your system? If not, the documentation may not be properly
installed.
Peter
I checked it Peter and rearranged the files in the
J. D. Leach [EMAIL PROTECTED] writes:
Mike Meyer wrote:
Chris Smith [EMAIL PROTECTED] writes:
J == J D Leach [EMAIL PROTECTED] writes:
I'm stupider; I can't ATFQ for you.
But last night I stayed at a Holiday Inn Express, and can recommend
http://projects.edgewall.com/python-sidebar/
- like searching the Python cookbook - is
relatively easy.
mike
Thanks Mike for the link. I installed the sidebar and have found it to be an
invaluable aid in searching for info on Python. As for my problem with the
PYTHONDOCS variable, I still get the message about not having
OK, I'm stupid. I have been unable to discern (even Googled) a way to set
the PYTHONDOCS variable to point to where the HTML files are. What to do? I
need to know the process and where theses variables are stored.
--
J. D. Leach
Columbus, Indiana USA
Linux/Open Source Computer using
J. D. Leach wrote:
OK, I'm stupid. I have been unable to discern (even Googled) a way to set
the PYTHONDOCS variable to point to where the HTML files are. What to do? I
need to know the process and where theses variables are stored.
It's an environment variable. In my case:
PYTHONDOCS=/usr
J == J D Leach [EMAIL PROTECTED] writes:
J OK, I'm stupid. I have been unable to discern (even Googled) a
J way to set the PYTHONDOCS variable to point to where the HTML
J files are. What to do? I need to know the process and where
J theses variables are stored. -- J. D. Leach
Chris Smith [EMAIL PROTECTED] writes:
J == J D Leach [EMAIL PROTECTED] writes:
I'm stupider; I can't ATFQ for you.
But last night I stayed at a Holiday Inn Express, and can recommend
http://projects.edgewall.com/python-sidebar/
Which, assuming you've got connectivity, is teh shiznit.
In article [EMAIL PROTECTED],
Robert Hicks [EMAIL PROTECTED] wrote:
How do I set this variable in my .bash_profile? I have the html docs in
/usr/local/PythonDocs.
I have a line in my .profile like this:
export PYTHONDOCS='/Users/opstad/Documents/Developer
Docs/Python-Docs-2.4.1'
So
Dave Opstad wrote:
In article [EMAIL PROTECTED],
Robert Hicks [EMAIL PROTECTED] wrote:
How do I set this variable in my .bash_profile? I have the html docs in
/usr/local/PythonDocs.
I have a line in my .profile like this:
export PYTHONDOCS='/Users/opstad/Documents/Developer
Docs
On Nov 28, 2005, at 5:27 PM, Robert Hicks wrote:
I have that...and it isn't working with the OSX version of IDLE in the
MacPython folder. If I start Python from the Terminal it works.
Any idea why it doesn't work that way?
Unless a program is launched in a Terminal window, your .profile
How do I set this variable in my .bash_profile? I have the html docs in
/usr/local/PythonDocs.
Thanks for any help...
Robert
--
http://mail.python.org/mailman/listinfo/python-list
the directories out of Python-Docs-2.4.2 and put them in
C:\Python24\Doc and then added C:\Python24\Doc as the value for
PYTHONDOCS.
Hope that made sense.
--
http://mail.python.org/mailman/listinfo/python-list
need to have C:\Python24\Python-Docs-2.4.2\ as the value if thats
where that folder is, or wherever you unzipped it. I, personally, just
took all the directories out of Python-Docs-2.4.2 and put them in
C:\Python24\Doc and then added C:\Python24\Doc as the value for
PYTHONDOCS.
Hope that made
set the envirenment variable PYTHONDOCS to indicate their location. I have
downloaded them and they are in the same folder with Pythons other files.
I'm using XP. I can open the HTML file manually and it opens ok. Can I use
Python regardless? Thanks!
--
http://mail.python.org/mailman
You can still use it, but you can't use the help. I don't know but this has always been better than the help for me! =D-- -Ivan
--
http://mail.python.org/mailman/listinfo/python-list
New,
(5)
Variable name: PYTHONDOCS
Variable value: C:\Python24
Of course, the value needs to be the correct folder that you said you
dropped the HTML docs into.
--
http://mail.python.org/mailman/listinfo/python-list
,
(5)
Variable name: PYTHONDOCS
Variable value: C:\Python24
Of course, the value needs to be the correct folder that you said you
dropped the HTML docs into.
--
http://mail.python.org/mailman/listinfo/python-list
23 matches
Mail list logo