开发者

post method in Python

I want to write a script in Python that would connect and post some data to several web-servers automatically. Please write how t开发者_StackOverflow中文版o post and submit data for example to google. Just can't understand how to do it from Python documentation. Thank You.


Check the documentation on the urllib2 module and check out this urllib2 the missing manual. It's all there.


If you are open for packages outside standard library, then mechanize is a good option for such tasks.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜