Hey guys anytime i type in help ('print') i get the following error;
"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 environment variable PYTHONDOCS to indicate their location.
On the Microsoft Windows operating system, the files can be built by
running "hh -decompile . PythonNN.chm" in the C:\PythonNN\Doc> directory"
I'm working with Python 2.5, i presume thats the latest version.
TIA!
12 3568
Hey guys anytime i type in help ('print') i get the following error;
"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 environment variable PYTHONDOCS to indicate their location.
On the Microsoft Windows operating system, the files can be built by
running "hh -decompile . PythonNN.chm" in the C:\PythonNN\Doc> directory"
I'm working with Python 2.5, i presume thats the latest version.
TIA!
That's what I get too. The docs are in the Start menu under Programs -> Python 2.5.
That's what I get too. The docs are in the Start menu under Programs -> Python 2.5.
I do see it, but shouldn't i be able to access it from my python shell?
I do see it, but shouldn't i be able to access it from my python shell?
That depends on which shell you are using. The (generally useless) command line prompt which has poor editing capabilities and no menus will bring up help if you leave out the quotes, ( print won't work, but just about anything else will). But even the simplest IDE like IDLE has a help menu that will bring up the docs for you.
That depends on which shell you are using. The (generally useless) command line prompt which has poor editing capabilities and no menus will bring up help if you leave out the quotes, (print won't work, but just about anything else will). But even the simplest IDE like IDLE has a help menu that will bring up the docs for you.
I can find it manually by going to the help menu as you suggested, but isn't the whole philosophy of programming to be lazy? but thats besides the point.
I did try it without the quotes like help (if) and it gives me a syntax error.
I should've also added in the first post that the error included the following: On the Microsoft Windows operating system, the files can be built by running "hh -decompile . PythonNN.chm" in the C:\PythonNN\Doc> directory.
How do i do that?
I'm also using the shell that comes with python.
I can find it manually by going to the help menu as you suggested, but isn't the whole philosophy of programming to be lazy? but thats besides the point.
I did try it without the quotes like help (if) and it gives me a syntax error.
Yep. That would be the expected behavior when putting reserved words between parentheses like that. The help system does work. Just type help() and it will guide you.
I should've also added in the first post that the error included the following: On the Microsoft Windows operating system, the files can be built by running "hh -decompile . PythonNN.chm" in the C:\PythonNN\Doc> directory.
How do i do that?
I'm also using the shell that comes with python.
Ok. I think I see what you're getting at. I wouldn't go around decompiling the help file just yet.
To start help programmaticly, you could: -
>>> import os
-
>>> os.startfile(r'D:\Python24\Doc\Python24.chm')
-
>>>
Yep. That would be the expected behavior when putting reserved words between parentheses like that. The help system does work. Just type help() and it will guide you.
Ok. I think I see what you're getting at. I wouldn't go around decompiling the help file just yet.
To start help programmaticly, you could: -
>>> import os
-
>>> os.startfile(r'D:\Python24\Doc\Python24.chm')
-
>>>
Thanks, it brought up the Doc file, how can i want to get specific help?
Why don't you guys just do the hh -decompile thing? That's what I did...
Why don't you guys just do the hh -decompile thing? That's what I did...
Um so how do you do the decompile thing? I have no clue whatsoever
Um so how do you do the decompile thing? I have no clue whatsoever
Start -> Run cmd
Navigate to the doc directory (like cd C:\Python25\Doc) -
C:\Python25\Doc> hh -decompile . Python25.chm
But that will strew your doc folder full of little HTML files. Have fun!
Start -> Run cmd
Navigate to the doc directory (like cd C:\Python25\Doc) -
C:\Python25\Doc> hh -decompile . Python25.chm
But that will strew your doc folder full of little HTML files. Have fun!
I can't help but ask dumb questions, but could you rephrase what you meant by "strew your doc folder full of little HTML files"
In my doc folder i got 2 files namely python25.chm and python25.chw
Thx
I can't help but ask dumb questions, but could you rephrase what you meant by "strew your doc folder full of little HTML files"
In my doc folder i got 2 files namely python25.chm and python25.chw
Thx
my friend you have to do one thing so
1 st go to command prompt and type cd C:\Python25\Doc to navigate there
2 exit the python idle
3 hit space once (in the command prompt window)
4 so Then type hh -decompile . Python25.chm and hit ENTER
5 so only if you type it correctly you will find in the "Doc" directory the decompiled html files.
6 if you have decompiled them just re-open IDLE and
7 Have fun !!!
C:\Python25\Doc>hh -Decompile . Python25.chm
refresh the folder, success:)
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Irmen de Jong |
last post by:
QOTW: "To make the instructions even friendlier it would also help if 'but
Whatever You Do DON'T UNZIP THE FREAKIN' THING - This Means YOU John Latter!'
were in large, bold, and underlined type. ...
|
by: Emile van Sebille |
last post by:
QOTW: "I've tried many ways over the years to represent equations legibly
using Python and my experience that case sensitivity, while
certainly no panacea, helps." -- Tim Hochberg
"What's your...
|
by: vegetax |
last post by:
I was a java developer one year ago ,before i moved to python i realy liked
it at the beggining, but i got very disapointed lately since my
previus two python proyects where relatively big,and...
|
by: Huron |
last post by:
Hi,
What do you guys recommend in terms of python project layout, especially
unit tests layout ?
Zope has unit tests per packages, twisted has a big tests directory full of
tests ... and the...
|
by: Mike Meyer |
last post by:
After spending time I should have been sleeping working on it, the try
python site is much more functional. It now allows statements,
including multi-line statements and expressions. You can't...
|
by: Michael Sperlle |
last post by:
Is it possible? Bestcrypt can supposedly be set up on linux, but it seems
to need changes to the kernel before it can be installed, and I have no
intention of going through whatever hell that would...
|
by: Lie |
last post by:
Yesterday I installed compiz-icon in my Ubuntu. Today, when I go to
the python interpreter, I happen to do this:
### START OF PYTHON SESSION ###
Python 2.5.2 (r252:60911, Apr 21 2008, 11:17:30)...
|
by: Peng Yu |
last post by:
Hi,
Perl has a command line help perldoc. I'm wondering if python has a
similar help command.
Thanks,
Peng
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: Aftab Ahmad |
last post by:
Hello Experts!
I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
|
by: Aftab Ahmad |
last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below.
Dim IE As Object
Set IE =...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: marcoviolo |
last post by:
Dear all,
I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
| |