mirror of
https://github.com/Azure/MachineLearningNotebooks.git
synced 2025-12-19 17:17:04 -05:00
14 lines
293 B
Python
14 lines
293 B
Python
'''Misc module:
|
|
Miscellaneous helper functions and utilities.
|
|
'''
|
|
|
|
import os
|
|
import glob
|
|
|
|
|
|
# Helper function to find a file or folder path
|
|
def find_path(name, path_prefix):
|
|
for root, _, _ in os.walk(path_prefix):
|
|
if glob.glob(os.path.join(root, name)):
|
|
return root
|