Newbie needs help. Setting PYTHONDOCS to read HTML.
I have installed Python 2.4.2 from Python.org. I type "help()" and I get basic help. In help, I type "keywords" and I get an error saying, "Sorry, topic and keyword documentation is not available because the Python HTML documentation files could not be found. If you have installed them, please 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/listinfo/python-list
Re: Newbie needs help. Setting PYTHONDOCS to read HTML.
Brett, I did that and now when I enter "keywords" I get a list of words. And it says that I can enter any of the words to get more help. I enter "class" and I get "could not read docs from C:/Python24/ref/if.html". "Brett Hoerner" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > You can use Python regardless of the docs... of course. Not sure what > you mean there. > > As far as setting an Environment Variable, though: > > (1) Right-Click My Computer, go to Properties > > (2) Go to the Advanced tab > > (3) Click Environment Variables (bottom middle-ish) > > (4) Under "User Variables" click 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
Re: Newbie needs help. Setting PYTHONDOCS to read HTML.
Yes it did. And it worked! Thank you! moondusterone "Brett Hoerner" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > That's because the Python docs come zipped up within a folder, for > example: > > python_docs.tar.bz2 has a folder inside it called Python-Docs-2.4.2. > > You 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 sense. > -- http://mail.python.org/mailman/listinfo/python-list