strfilepath = os.path.realpath(__file__)LOG_PATH = "%s/" % (os.path.dirname(strfilepath),)#该片段来自于http://www.codesnippet.cn/detail/260320132560.html
来源: http://www.codesnippet.cn/detail/260320132560.html