1

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.

3
  • Step 1: Search. This is a well-asked question. Numerous answers. Commented Apr 20, 2011 at 12:08
  • possible duplicate of Python URLLib / URLLib2 POST Commented Apr 20, 2011 at 12:10
  • Please research yourself before asking - SO is not about please-research-in-SO-for-me Commented Apr 20, 2011 at 12:11

2 Answers 2

3

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

Sign up to request clarification or add additional context in comments.

Comments

0

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.