> Any further help is appreciated. : )
>
>
I figured it out. I just used
sys.stdin = file("path/to/file", "r")
and I was again able to read the data from stdin.
--
http://mail.python.org/mailman/listinfo/python-list
"ACB" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>I am rewriting an existing PERL script I wrote several months ago. It is a
>script that is used as the action for a form containing several type="file"
>inputs. The script is run unbuffered and writes the data from sys.stdin t
> form = cgi.FieldStorage()
>
> for k in form.keys():
> do_something_with(form, k)
>
>> Is there some class that can take this input and make it easier to deal
>> with?
>
> A dictionary.
>
> I need to
>> save each of the ulimage values as individual images and gain access to
>> the values of s
ACB wrote:
> I am rewriting an existing PERL script I wrote several months ago. It is a
> script that is used as the action for a form containing several type="file"
> inputs. The script is run unbuffered and writes the data from sys.stdin to
> a file which is stat'ed by another script called
I am rewriting an existing PERL script I wrote several months ago. It is a
script that is used as the action for a form containing several type="file"
inputs. The script is run unbuffered and writes the data from sys.stdin to
a file which is stat'ed by another script called asyncornously from