follow-up to FieldStorage

Fredrik Lundh fredrik at pythonware.com
Thu Jun 8 15:47:56 EDT 2006


bruno at modulix wrote:

> FWIW, reading the source is not even needed to know this:

>>>> import cgi
>>>> dir(cgi.FieldStorage)

not to mention:

 >>> help(cgi.FieldStorage)
Help on class FieldStorage in module cgi:

class FieldStorage
  |  Store a sequence of fields, reading multipart/form-data.
  |
  |  This class provides naming, typing, files stored on disk, and
  |  more.  At the top level, it is accessible like a dictionary, whose
  |  keys are the field names.  (Note: None can occur as a field name.)

(followed by a detailed description of the field objects, and 
descriptions of all methods on the dictionary-list object).

</F>




More information about the Python-list mailing list