Ivan Slavkovskyy
Ivan Slavkovskyy

Reputation: 11

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 to post and submit data for example to google. Just can't understand how to do it from Python documentation. Thank You.

Upvotes: 1

Views: 498

Answers (2)

Shekhar
Shekhar

Reputation: 7235

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

Upvotes: 0

Uku Loskit
Uku Loskit

Reputation: 42030

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

Upvotes: 3

Related Questions