In python, is it easy to call a function multiple times using threads?
You can do this using any of:

the thread module (if your task is a function)
the threading module (if you want to write your task as a subclass of threading.Thread)
the multiprocessing module (which uses a similar interface to threading)

All of these are available in the Python standard library (2.6 and later), and you can get the multiprocessing module for earlier versions as well (it just wasn't packaged with Python yet).
Say I have a simple function, it connects to a database (or a queue), gets a url that hasn't been visited, and then fetches the HTML at the given URL.
Now this process is serial, i.e. it will only fetch the html from a given url one at a time, how can I make this faster by doing this in a group of threads?