Hello,
I've 2 questions about python help files:
1. how can I launch the windows help file (CHM), from python with a
keyword as argument ?
2. now when my program should also run under Linux/Mac, how should I
call the help file under Linux/Mac.
Going to the website for the help information is not an option.
thanks,
Stef 4 2456
On Oct 2, 9:13*am, Stef Mientki <stef.mien...@g mail.comwrote:
Hello,
I've 2 questions about python help files:
1. how can I launch the windows help file (CHM), from python *with a
keyword as argument ?
2. now when my program should also run under Linux/Mac, *how should I
call the help file *under Linux/Mac.
Going to the website for the help information is not an option.
thanks,
Stef
You say that you can't send them to a website for help files. Can you
make the help files HTML and launch them locally in a browser (no
internet connection required)? That would enable you to use the same
mechanism on all platforms.
Daniel
1. how can I launch the windows help file (CHM), from python with a
keyword as argument ?
Run hh.exe. If you want it to navigate to specific page, also pass that
page on the command line (finding out the exact syntax is left as an
exercise)
2. now when my program should also run under Linux/Mac, how should I
call the help file under Linux/Mac.
Provide an HTML tree of the documentation, and use the webbrowser module
to start a browser on it.
Regards,
Martin
Martin v. Löwis wrote:
>1. how can I launch the windows help file (CHM), from python with a keyword as argument ?
Run hh.exe. If you want it to navigate to specific page, also pass that
page on the command line (finding out the exact syntax is left as an
exercise)
That's one way,
in the meanwhile I found win32help.py,
which I finally got to work.
The whole hh.exe (seems also to be a wellknown virus) and win32help
documentation is very hard to find.
>2. now when my program should also run under Linux/Mac, how should I call the help file under Linux/Mac.
Provide an HTML tree of the documentation, and use the webbrowser module
to start a browser on it.
Yes, but for context sensitive help that's a little bit primitive.
I'm now working on the idea of offering 3 levels of context sensitive
help (through F1, shift-F1, ctrl-F1):
- standard doc ( chm-keyword / html-tag )
- search on google
- help from a user defined location ( chm / html / search engine / txt /
pdf )
thanks again,
cheers,
Stef
En Fri, 03 Oct 2008 09:07:21 -0300, Stef Mientki <st**********@g mail.com>
escribió:
Martin v. Löwis wrote:
>>1. how can I launch the windows help file (CHM), from python with a keyword as argument ?
Run hh.exe. If you want it to navigate to specific page, also pass that page on the command line (finding out the exact syntax is left as an exercise)
That's one way,
in the meanwhile I found win32help.py,
which I finally got to work.
The whole hh.exe (seems also to be a wellknown virus) and win32help
documentation is very hard to find.
hh.exe is part of the Windows OS and is included on all non-prehistoric
Windows versions. See http://support.microsoft.com/dllhelp/
win32help is part of the pywin32 package - but it's just a thin wrapper
around the help API. The authoritative documentation source should be the
Microsoft site: http://msdn.microsoft.com/en-us/library/cc196383.aspx
--
Gabriel Genellina This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ken Lindner |
last post by:
I have a need to become familiar with SQL Server 2000 for work.
Needless to say I am new to SQL Server any version, but not IT in
general. My employer has provided me with the SQL Server 2000
Personal disk from the SQL Server 2000 Enterprise kit as this is
reported here on the MSDN web site to be the version that is supported
on Windows XP. In fact so many of you kind people confess to having
succeeded in doing it.
I have tried...
|
by: Abhishek Srivastava |
last post by:
Hello All,
Many people ask this question. I have installed .Net framework I wrote a
program but I can't find csc.exe. I have to tell them that it is inside
windows directory. But I myself don't understand what is the csc.exe
compiler doing over there. Why is the C# compiler in the windows
directory? Is the compiler a part of windows? or is windows os is a part
of the compiler.
Why can't it be in its own directory? (like all other...
|
by: Charles Neitzel |
last post by:
I'm trying to write a windows application in C# (Using Microsoft Visual C#
2005 Express) that is nothing more than a simple UI with buttons on it. The
buttons do various things like running programs and executing registry
entries. The majority of my buttons work however, I have come upon a problem.
I need a few of the buttons to run DOS batch files, the batch files in turn
run program installers (specifically windows update runtime .exe...
|
by: Charles |
last post by:
I'm trying to write a windows application in C# (Using Microsoft Visual
C#
2005 Express) that is nothing more than a simple UI with buttons on it.
The
buttons do various things like running programs and executing registry
entries. The majority of my buttons work however, I have come upon a
problem.
I need a few of the buttons to run DOS batch files, the batch files in
turn
run program installers (specifically windows update runtime .exe...
|
by: Chris Paul |
last post by:
I'm having trouble with PHP & PostgreSQL/OpenLDAP/Apache on Windows.
I've set this up countless times on BSD (piece of cake) but I'm trying
to do this on Windows now so that my developer can work on her local
machine.
Everything looks pretty good. OpenLDAP/cygwin works great. PostgreSQL
works great. Apache runs. PHP runs.
But when I try to connect to my PostgreSQL server using PHPPgAdmin, I
| |
by: pac |
last post by:
I'm preparing to distribute a Windows XP Python program and some
ancillary files,
and I wanted to put everything in a .ZIP archive. It proved to be
inordinately
difficult and I thought I would post my solution here. Is there a
better one?
Suppose you have a set of files in a directory c:\a\b and some
additional
files in c:\a\b\subdir. Using a Python script, you would
|
by: zacks |
last post by:
I use some shareware CD/DVD burning software that has a command line
interface version. This allowed me to write my own custom SDK that
performs various CD/DVD burning operations from my own VB.NET
applications.
Recently, I had some problems reading DVDs that I had recently burned,
reading them with the same DVD device that burned them. So I wrote a
quickie verification program that simply attempts to binary read all
files on the disk.
|
by: dermot |
last post by:
I have wrriten a small windows service application in visual studio
..net 2003 which listens for incoming FTP files.
These files would overwrite over time due to duplicate file names.
However any time the windows service tries to rename the file (using
flFile.move(source,destination)) it gets an error saying access is
denied.
The files are on the network, so we though the local system account may
not have access
We tried changing the...
|
by: =?Utf-8?B?SnJ4dHVzZXIx?= |
last post by:
I just started using Windows Live OneCare, I had been using Norton, but was
unable to fix the problems I was having. I have yet been unsuccessful with
OneCare as well. I keep getting the same warning from OneCare, one is for
Adware, the other is for a trojan, I clean both, but almost immediatly, I get
the same warning? My Windows Defender is also shut down, not by me as I have
no idea how to do this(or to turn it back on), but am still...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |