home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
p
/
python
/
pyhtmldoc
/
o
/
old_classe
next >
Wrap
Text File
|
1996-11-14
|
1KB
|
23 lines
<TITLE>Old classes -- Python library reference</TITLE>
Next: <A HREF="../f/functions" TYPE="Next">Functions</A>
Prev: <A HREF="../u/using_the_cgi_module" TYPE="Prev">Using the cgi module</A>
Up: <A HREF="../c/cgi" TYPE="Up">cgi</A>
Top: <A HREF="../t/top" TYPE="Top">Top</A>
<H2>10.1.3. Old classes</H2>
These classes, present in earlier versions of the <CODE>cgi</CODE> module, are still
supported for backward compatibility. New applications should use the
FieldStorage class.
<P>
<CODE>SvFormContentDict</CODE>: single value form content as dictionary; assumes each
field name occurs in the form only once.
<P>
<CODE>FormContentDict</CODE>: multiple value form content as dictionary (the form
items are lists of values). Useful if your form contains multiple
fields with the same name.
<P>
Other classes (<CODE>FormContent</CODE>, <CODE>InterpFormContentDict</CODE>) are present for
backwards compatibility with really old applications only. If you still
use these and would be inconvenienced when they disappeared from a next
version of this module, drop me a note.
<P>