import requests
import sys


class Worker(object):

    def __call__(self, worker, url, requests_number):
        self.make_request(worker, url, requests_number)

    def make_request(self, worker, url, requests_number):
        """
        It's the worker's job, make requests. It makes the
        requests sequentially.
        """
        for i in range(1, int(requests_number) + 1):
            print ('[Worker %s - %s time] Making the request to %s'
                   % (worker, i, url))
            try:
                result = requests.get(url)
            except requests.exceptions.ConnectionError as e:
                print '[Worker %s - %s time] Got %s!' % (worker, i, e)
                sys.exit(1)
            print ('[Worker %s - %s time] Request finalized with status %s'
                   % (worker, i, result.status_code))
        sys.exit(1)

if __name__ == '__main__':
    worker = Worker()
    worker(sys.argv[1], sys.argv[2], sys.argv[3])

@@ -66,32 +66,35 @@
 l__(self, worker
+_id
 , url, requests_
@@ -130,24 +130,27 @@
 quest(worker
+_id
 , url, reque
@@ -195,16 +195,19 @@
 , worker
+_id
 , url, r
@@ -325,16 +325,219 @@
 tially.%0A
+        %0A        :param worker_id: Worker's id.%0A        :param url: Requests' target.%0A        :param requests_number: Number of requests per worker. Define%0A                                sequentiality.%0A
         
@@ -685,24 +685,27 @@
    %25 (worker
+_id
 , i, url))%0A 
@@ -883,24 +883,27 @@
 !' %25 (worker
+_id
 , i, e)%0A    
@@ -1030,16 +1030,19 @@
  (worker
+_id
 , i, res

Make worker.py vars' names more obvious