how to create only one object in python every time the code runs
<p>Every time I run this code. The class Tracker creates a new object on every new line from the input text file. I want to only create one object when you first run the code and keep using that object throughout the whole input file and not create a new one everytime my class is called.</p>

<pre><code>class Tracker(object):

    def __init__(self,region):
        self.region = region

    def make_tracker(self):
        self.region = re.search(r'CLI Command: \'show card detail\'',line)
        if self.region:
            print line
            self.region = "CPM OR IOM"
            return self.region
        end = re.search(r'(SUN|MON|TUE|WED|THU|FRI|SAT)(.*)(\d)(\d)(\d)(\d) UTC:$',line)
        if end:
            flag = "end"
            return flag

with open ('/home/thamer/SAMPLE.TXT','r') as f:
    for line in f:    
        first = Tracker(line)
        region = first.make_tracker()

        if region =="CPM or IOM":
            print "CPM or IOM"
</code></pre>