[Tutor] File upload from python shell

Paulino paulino1 at sapo.pt
Sun Oct 14 02:42:18 CEST 2007


How can I upload a file from python?

If it is a form to fill with values it's simple:

urlopen("http://site.com/action?key1=value1;key2=value2") and I get the 
form filled.

What about uploading a file programmaticaly?

Thank you


More information about the Tutor mailing list