Alan, i don't know how to use it in this case. import cgi form = cgi.FieldStorage() fileitem = form['file'] fileitem.file.read()
Function dir() lists all functions in a module, i could only use it for "cgi" O_O. Thankyou 2010/2/28 Alan Gauld <[email protected]> > > "Giorgio" <[email protected]> wrote > > It's talking from fileitem attributes like filename and file. >> >> >> Where is the complete list of those attributes or methods? >> > > Probably on a web page somewhere but you are probably better using the > help() function and dir() to examine an instance from the >>> prompt. > > HTH, > > > -- > Alan Gauld > Author of the Learn to Program web site > http://www.alan-g.me.uk/ > > _______________________________________________ > Tutor maillist - [email protected] > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor > -- -- AnotherNetFellow Email: [email protected]
_______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
