what went wrong with my get and set properties?
<p>Please I need help. I code with PyCharm and it keeps showing me unresolved reference 'model'.  Parameter 'model' value is not used and getter signature should be (self). Please how do I get around this.</p>

<pre><code>class ProductObject:
    def __init__(self, product, brand, car, model, year):
        self.product = product
        self.brand = brand
        self.car = car
        self.model = model
        self.year = year

    def set_product(self, product):
        self.product = product.capitalize()

    def get_product(self):
        return self.product
    product = property(get_product, set_product)

    def set_brand(self, brand):
        self.brand = brand.title()

    def get_brand(self):
        return self.brand
    brand = property(get_brand, set_brand)

    def set_car(self, car):
        self.car = car.title()

    def get_car(self):
        return self.car
    car = property(get_car, set_car)

    def set_model(self):
        self.model = model.title()

    def get_model(self, model):
        return self.model
    model = property(get_model, set_model)

    def set_year(self):
        self.year = year.int()

    def get_year(self, year):
        return self.year
    year = property(get_year, set_year)
</code></pre>

<p>You need change parameters of methods. Get method needs only <strong>self</strong> and set method need <strong>self</strong> and <strong>model</strong> as parameter.</p>

<pre><code>def set_model(self, model):
    self.model = model.title()

def get_model(self):
    return self.model
</code></pre>

<p><strong>EDIT</strong>
Inheriting from your class:</p>

<pre><code>class YourSubclass(ProductObject):
    #code of your subclass which inherit from ProductObject class
</code></pre>

<p>Module:
if you want create module you should check this <a href="http://stackoverflow.com/questions/3842616/organizing-python-classes-in-modules-and-or-packages">Module structure</a>
Is it nothing more than classes with init.py file. You can then import classes with normal import statements. Here is another link with info about init.py file: <a href="http://stackoverflow.com/questions/1944569/how-do-i-write-good-correct-package-init-py-files">Init.py structure</a></p>

python