FieldStorage and standard files

Michał Kurowski mkur at
Thu Aug 21 22:23:43 CEST 2003


That's probably an easy one:

I need to make a FiledStorage instances form usual unix filesystem
When I do:

fp = open('a file', 'r')
fs = cgi.Filed.Storage(fp=fp)

... the "fs" does not know it has a file and I cannot pass it
further, etc.

What's the trick ?

Michal Kurowski
<mkur at>

More information about the Python-list mailing list