On 2010-04-03 18:09, mcanjo wrote:
I have an executable (I don't have access to the source code) that
processes some data. I double click on the icon and a Command prompt
window pops up. The program asks me for the input file, I hit enter,
and then it asks me for and output filename, I hit enter
On Apr 5, 11:22 am, mcanjo wrote:
> On Apr 4, 6:32 am, Simon Brunning wrote:
>
>
>
> > On 3 April 2010 18:20, mcanjo wrote:
>
> > > I tried doing the following code:
>
> > > from subprocess import Popen
> > > from subprocess import PIPE, STDOUT
> > > exefile = Popen('pmm.exe', stdout = PIPE, std
On Apr 4, 6:32 am, Simon Brunning wrote:
> On 3 April 2010 18:20, mcanjo wrote:
>
> > I tried doing the following code:
>
> > from subprocess import Popen
> > from subprocess import PIPE, STDOUT
> > exefile = Popen('pmm.exe', stdout = PIPE, stdin = PIPE, stderr =
> > STDOUT)
> > exefile.communica
On 4/3/10 12:09 PM, mcanjo wrote:
I have an executable (I don't have access to the source code) that
processes some data. I double click on the icon and a Command prompt
window pops up. The program asks me for the input file, I hit enter,
and then it asks me for and output filename, I hit enter a
On 4 abr, 06:17, Francesco Bochicchio wrote:
> On 3 Apr, 19:20, mcanjo wrote:
> > On Apr 3, 11:15 am, Patrick Maupin wrote:
> > > On Apr 3, 11:09 am, mcanjo wrote:
>
> > > > I have an executable (I don't have access to the source code) that
> > > > processes some data. I double click on the ico
On 3 April 2010 18:20, mcanjo wrote:
> I tried doing the following code:
>
> from subprocess import Popen
> from subprocess import PIPE, STDOUT
> exefile = Popen('pmm.exe', stdout = PIPE, stdin = PIPE, stderr =
> STDOUT)
> exefile.communicate('MarchScreen.pmm\nMarchScreen.out')[0]
>
> and the Comm
On 3 Apr, 19:20, mcanjo wrote:
> On Apr 3, 11:15 am, Patrick Maupin wrote:
>
>
>
> > On Apr 3, 11:09 am, mcanjo wrote:
>
> > > I have an executable (I don't have access to the source code) that
> > > processes some data. I double click on the icon and a Command prompt
> > > window pops up. The p
On Apr 3, 12:20 pm, mcanjo wrote:
> On Apr 3, 11:15 am, Patrick Maupin wrote:
>
>
>
> > On Apr 3, 11:09 am, mcanjo wrote:
>
> > > I have an executable (I don't have access to the source code) that
> > > processes some data. I double click on the icon and a Command prompt
> > > window pops up. Th
On Apr 3, 11:15 am, Patrick Maupin wrote:
> On Apr 3, 11:09 am, mcanjo wrote:
>
> > I have an executable (I don't have access to the source code) that
> > processes some data. I double click on the icon and a Command prompt
> > window pops up. The program asks me for the input file, I hit enter,
On 3 April 2010 17:09, mcanjo wrote:
> I have an executable (I don't have access to the source code) that
> processes some data. I double click on the icon and a Command prompt
> window pops up. The program asks me for the input file, I hit enter,
> and then it asks me for and output filename, I h
On Apr 3, 11:09 am, mcanjo wrote:
> I have an executable (I don't have access to the source code) that
> processes some data. I double click on the icon and a Command prompt
> window pops up. The program asks me for the input file, I hit enter,
> and then it asks me for and output filename, I hit
I have an executable (I don't have access to the source code) that
processes some data. I double click on the icon and a Command prompt
window pops up. The program asks me for the input file, I hit enter,
and then it asks me for and output filename, I hit enter a second time
and it goes off and doe
Darren,
Thanks
From: [EMAIL PROTECTED] on behalf of darren kirby
Sent: Fri 9/7/2007 1:58 PM
To: python-list@python.org
Subject: Re: passing command line arguments
quoth the Brian McCann:
> Hi,
>
> when I run the script show_args2.py
>
> # ./
quoth the Brian McCann:
> Hi,
>
> when I run the script show_args2.py
>
> # ./show_args2.py 1 2 3
>
> I get the following error
>
> Traceback (most recent call last):
> File "./show_args2.py", line 4, in ?
> print 'The arguments of %s are "%s"' %s \
> NameError: name 's' is not defined
>
On Fri, 2007-09-07 at 12:47 -0400, Brian McCann wrote:
>
> Hi,
>
> when I run the script show_args2.py
>
> # ./show_args2.py 1 2 3
>
> I get the following error
>
> Traceback (most recent call last):
> File "./show_args2.py", line 4, in ?
> print 'The arguments of %s are "%s"' %s \
>
Hi,
when I run the script show_args2.py
# ./show_args2.py 1 2 3
I get the following error
Traceback (most recent call last):
File "./show_args2.py", line 4, in ?
print 'The arguments of %s are "%s"' %s \
NameError: name 's' is not defined
#
16 matches
Mail list logo