def init_people_file(directory):
    if (directory[(- 1)] != '/'):
        directory += '/'
    path = (directory + 'people.csv')
    if (not os.path.exists(path)):
        columns = [u'人物昵称', u'人物签名', u'人物标签', u'回答数', u'提问数', u'文章数', u'专栏数', u'想法数', u'总赞同数', u'总感谢数', u'总收藏数', u'总编辑数', u'总关注数', u'被关注数', u'关注话题', u'关注专栏', u'关注问题', u'收藏夹', u'动态']
        with codecs.open(path, 'a+', 'utf-8') as f:
            line = ','.join(columns)
            line += '\n'
            f.write(line)
        logger.info(('Created people information file: %s' % path))
    return path
def init_people_file(directory):
    if (directory[(- 1)] != '/'):
        directory += '/'
    path = (directory + 'people.csv')
    if (not os.path.exists(path)):
        columns = [u'人物昵称', u'人物签名', u'人物标签', u'回答数', u'提问数', u'文章数', u'专栏数', u'想法数', u'总赞同数', u'总感谢数', u'总收藏数', u'总编辑数', u'总关注数', u'被关注数', u'关注话题', u'关注专栏', u'关注问题', u'收藏夹', u'动态']
        with codecs.open(path, 'a+', 'utf-8') as f:
            line = ','.join(columns)
            line += '\n'
            f.write(line)
        logger.info(('Created people information file: %s' % path))
    return path