On Thu, 02 Mar 2006 16:13:18 -0500, Michael Li <[EMAIL PROTECTED]> wrote:
>In Windows, there is a default way to open a file,
>like double click test.txt file, then Notepad will
>open the test.txt, double click test.doc, then
>MS-Word will open the test.doc.
>
>If I want to open a specific file,
Michael Li schrieb:
> hi,
>
> In Windows, there is a default way to open a file,
> like double click test.txt file, then Notepad will
> open the test.txt, double click test.doc, then
> MS-Word will open the test.doc.
>
> If I want to open a specific file, test.KEY,
> with my application, how do I d
Hi Michael, Try this:
import os
os.startfile(r"C:\DEFORM3D\PROBLEM\test.KEY")
-Jim
On 3/2/06, Michael Li <[EMAIL PROTECTED]> wrote:
> hi,
>
> In Windows, there is a default way to open a file,
> like double click test.txt file, then Notepad will
> open the test.txt, double click test.doc, then
hi,
In Windows, there is a default way to open a file,
like double click test.txt file, then Notepad will
open the test.txt, double click test.doc, then
MS-Word will open the test.doc.
If I want to open a specific file, test.KEY,
with my application, how do I do it ?
The suffix ".KEY" is fixed.
M