Re: Saving files from post data via sys.stdin

2006-04-11 Thread ACB
> 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

Re: Saving files from post data via sys.stdin

2006-04-11 Thread ACB
"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

Re: Saving files from post data via sys.stdin

2006-04-10 Thread ACB
> 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

Re: Saving files from post data via sys.stdin

2006-04-10 Thread James Stroud
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

Saving files from post data via sys.stdin

2006-04-10 Thread ACB
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