Member Avatar for sravan953

Hey,

I just learnt the basics of smtplib module, and now know how to successfully send emails using Python.

My next step is to learn how to use Python to 'use' the web, as in, download files from a specified URL, or something like that. What module is required for that?

Can anyone point me in the right direction and give a link to a tutorial?

Thanks all!

Maybe what you need is this python library:

  • urllib or
  • urllib2

Right now I can't remember of any good tutorial on the net but you can always google for this.
You can also take a look at python documentation here, you'll find a good documentation of the libraries i've just mentioned above

This is a HOWTO, but i think it will help you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.