[Tutor] Upload a file using python
rakesh sharma
rakeshsharma14 at hotmail.com
Sun Feb 16 10:15:37 CET 2014
Greetings!!
Hi ,
I need to upload some file into a website. Its ajax based and so I managed to do using selenium.But I feel if i can use the http methods without involving any UI level automation things would be better.I have tried 'requests' library for this. Can't get how to upload a file. I performed it using post method. But dint get the required result.The uploaded file dint appear in the site.
Any help anyone?
thanks,rakesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140216/ec43279f/attachment.html>
More information about the Tutor
mailing list