I have been trying to get the gdmodule installed and have run into an issue.
When I import gd I get the following error.
>>> import gd
Traceback (most recent call last):
File "", line 1, in ?
File "/usr/local/lib/python2.3/site-packages/gd.py", line 10, in ?
import _gd
ImportError: /usr/lo
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
> 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" <[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
> 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