import ospath = os.path.join(os.path.dirname(__file__), 'bbc_test.yaml').replace('\\','/')print path 相关文章: