[Tutor] Upload a file using python

Alan Gauld alan.gauld at btinternet.com
Mon Feb 17 16:38:47 CET 2014


On 17/02/14 14:29, rakesh sharma wrote:
> Greetings!!
>
> Hi Alan,
>
> The error code was that of success. 200.
> Donno if the site supports a post method. It doesn't but is there any
> other way of automating the process.
> The issue of chrome 32 with selenium webdriver has stalled the show for me.
> Hence i had to fend for some other ways.

OK I misunderstood your previous mail.
Its not that you don't want to use Ajax its that you don't
want to drive it via the browser UI?

In that case you should be able to call the Ajax API directly using 
urllib or cgi possibly some higher level Ajax module - I suspect one 
will exist somewhere!

But at this point we probably need to see some code to see how you are 
trying to do it.


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos



More information about the Tutor mailing list