def dbPath(): """ The path for the data base. @return: The full path for kajonggserver.db or kajongg.db. @rtype: C{str} """ name = 'kajonggserver' if Internal.isServer else 'kajongg' if isPython3: name += '3.db' else: name += '.db' return Options.dbPath if Options.dbPath else appdataDir() + name