THNX for the links... lotta reading for the newbie!
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 6, 3:42 pm, frankrentef <[EMAIL PROTECTED]> wrote:
> stdout, stdin = popen2.popen2('c:\test\OpenProgram.exe 1 1')
What Mike said about subprocess.
Also, in regular Python strings, \t means a tab character. You need
to replace \ with \\ in the programme path ('c:\\test\\OpenProgram.exe
1 1
On Aug 6, 2:42 pm, frankrentef <[EMAIL PROTECTED]> wrote:
> Greetings all...
>
> Newbie to Python... need help with opening a file from within
> Python... see the following code.
>
> import popen2
> stdout, stdin = popen2.popen2('c:\test\OpenProgram.exe 1 1')
> keygen = stdout.read()
> print "The k
Greetings all...
Newbie to Python... need help with opening a file from within
Python... see the following code.
import popen2
stdout, stdin = popen2.popen2('c:\test\OpenProgram.exe 1 1')
keygen = stdout.read()
print "The keygen value is: %s" % keygen
from the command line if I execute "OpenPr