add import os

In [8]: gc = GenderComputer(os.path.abspath("./nameLists/"))
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-8-caa34df6e604> in <module>()
----> 1 gc = GenderComputer(os.path.abspath("./nameLists/"))

/home/h4nt1/repos/genderComputer/genderComputer.pyc in __init__(self, nameListsPath)
     91 class GenderComputer():
     92         def __init__(self, nameListsPath):
---> 93                 '''Data path'''
     94                 self.dataPath = os.path.abspath(nameListsPath)
     95 

NameError: global name 'os' is not defined