RE: Launch file from Python

2007-10-10 Thread wang frank
is the command I used to open the editor: os.sytem('gvim test.py') After this command if I do not quit the gvim, I could not enter command in python shell. Thanks Frank From: [EMAIL PROTECTED] Subject: Re: Launch file from Python Date: Sun, 12 Aug 2007 17:44:48 + To: python-list

Re: Launch file from Python

2007-08-12 Thread Jorgen Grahn
On Wed, 08 Aug 2007 10:28:57 -0700, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Good afternoon from someone who is trying to learn Python. I would like to launch an app from within a Python script. From the examples I have found, I should be able to do this with os.system. I use this:

Re: Launch file from Python

2007-08-08 Thread kyosohma
On Aug 8, 12:28 pm, [EMAIL PROTECTED] wrote: Good afternoon from someone who is trying to learn Python. I would like to launch an app from within a Python script. From the examples I have found, I should be able to do this with os.system. I use this: os.system(xplanet-1.2.0/xplanet.exe

Re: Launch file from Python

2007-08-08 Thread jocago
On Aug 8, 1:36 pm, [EMAIL PROTECTED] wrote: On Aug 8, 12:28 pm, [EMAIL PROTECTED] wrote: Good afternoon from someone who is trying to learn Python. I would like to launch an app from within a Python script. From the examples I have found, I should be able to do this with os.system. I

Re: Launch file from Python

2007-08-08 Thread kyosohma
On Aug 8, 1:11 pm, jocago [EMAIL PROTECTED] wrote: The application, however, never runs. I'll give the sub-process a shot. Thanks. Well, that's a problem. I suppose the best thing to try is use some smaller sets of flags and see if they work. Instead of your long string, try something smaller,

Re: Launch file from Python

2007-08-08 Thread Arnau Sanchez
[EMAIL PROTECTED] escribió: That's just the exit status or run status, if I recall correctly. I think 0 (i.e. False) means it didn't run properly and anything else is True, or ok. Something like that. The other way: 0 means ok while everything else means error (at least in UNIX). The reason

Re: Launch file from Python

2007-08-08 Thread kyosohma
On Aug 8, 2:35 pm, Arnau Sanchez [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] escribió: That's just the exit status or run status, if I recall correctly. I think 0 (i.e. False) means it didn't run properly and anything else is True, or ok. Something like that. The other way: 0 means ok

Re: Launch file from Python

2007-08-08 Thread [EMAIL PROTECTED]
On Aug 8, 2:39 pm, [EMAIL PROTECTED] wrote: On Aug 8, 2:35 pm, Arnau Sanchez [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] escribió: That's just the exit status or run status, if I recall correctly. I think 0 (i.e. False) means it didn't run properly and anything else is True, or