()
return path
获取MSpider的绝对路径
获取MSpider的绝对路径
获取MSpider的绝对路径
def get_absolute_path():
    '''
    获取MSpider的绝对路径
    '''
    path = sys.path[0]
    path = path.split('MSpider')[0] + "MSpider/"
    return path
def get_absolute_path ( ) : path = sys . path [ 0 ] path = path . split ( 'MSpider' ) [ 0 ] + "MSpider/" return path