On 2006-03-14, Kevin <[EMAIL PROTECTED]> wrote:
> i have a python file called pyq which outputs stock quotes, currently i
> also have a html file that takes stock ticker inputs, i would like to
> bridge the two by building another program that takes the html inputs
> and uses them to call the py
Kevin:
>#!/usr/bin/python
>
>import os
>import urllib
>os.system("python pyq.py ibm > text1.txt")
Check the return value of os.system.
>note: currently the text1.txt outputted is just blank, however if i run
>the command normally as 'python pyq.py ibm' in the command line, it
>works correctly a
i have a python file called pyq which outputs stock quotes, currently i
also have a html file that takes stock ticker inputs, i would like to
bridge the two by building another program that takes the html inputs
and uses them to call the pyq stock ticker program and then output them
into a text