nlp-recipes/tests/notebooks_common.py

15 строки
466 B
Python
Исходник Постоянная ссылка Обычный вид История

2019-04-16 21:57:14 +03:00
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
import os
# Unless manually modified, python3 should be the name of the current jupyter kernel
# that runs on the activated conda environment
KERNEL_NAME = "python3"
OUTPUT_NOTEBOOK = "output.ipynb"
def path_notebooks():
"""Returns the path of the notebooks folder"""
2019-08-19 17:51:35 +03:00
return os.path.abspath(os.path.join(os.path.dirname(__file__), os.path.pardir, "examples"))