> Alan, i don't know how to use it in this case.
>
> import cgi
> form = cgi.FieldStorage()
> fileitem = form['file']
> Function dir() lists all functions in a module, i could only use it for "cgi"
It will list all the names in any kind of object not just a module.
If you type the code above at the >>> prompt you should be
able to do:
>>> import cgi
>>> form = cgi.FieldStorage()
>>> help(form)
OR, You could go more directly using
>>> import cgi
>>> help(cgi.FieldStorage)
HTH
Alan G.
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor