Chris Rebert wrote:
>
>2. Glob/wildcard ("*") expansion is done by the shell, but
>subprocess.Popen does not use the shell by default (for good reason!).
This is only true in Linux. In Windows, the wildcard characters are passed
to the program, so each app must do its own glob expansion.
--
Tim
On 04/16/2013 08:14 AM, PEnergy wrote:
> Greetings,
>
> I am trying to write a python script that, when called from the DOS
> prompt, will call another python script and pass it input variables.
> My current code will open the other python script but doesn't seem to
> pass it any values:
>
> impo
On Tue, 16 Apr 2013 12:10:09 -0700, Chris Rebert wrote:
> On Tue, Apr 16, 2013 at 7:14 AM, PEnergy wrote:
>> Greetings,
>>
>> I am trying to write a python script that, when called from the DOS
>> prompt, will call another python script and pass it input variables.
>> My current code will open t
On Tue, Apr 16, 2013 at 7:14 AM, PEnergy wrote:
> Greetings,
>
> I am trying to write a python script that, when called from the DOS prompt,
> will call another python script and pass it input variables. My current code
> will open the other python script but doesn't seem to pass it any values:
Greetings,
I am trying to write a python script that, when called from the DOS prompt,
will call another python script and pass it input variables. My current code
will open the other python script but doesn't seem to pass it any values:
import os,sys,subprocess
subprocess.Popen(['python.exe',