Post · 1 min read· p. 994

aerosandbox.tools.python.execution

Functions

run_python_file(path)Executes a Python file from a path.
run_all_python_files(path[, recursive, verbose])Executes all Python files and Jupyter Notebooks in a directory.

Module Contents

aerosandbox.tools.python.execution.run_python_file(path) : Executes a Python file from a path. :param path: File path

code
Returns: None

Parameters:
:   **path** (*pathlib.Path*) –

Return type:
:   None

aerosandbox.tools.python.execution.run_all_python_files(path, recursive=True, verbose=True) : Executes all Python files and Jupyter Notebooks in a directory. :param path: A Path-type object (Path from built-in pathlib) representing a filepath :param recursive: Executes recursively (e.g. searches all subfolders too)

code
Returns: None

Parameters:
:   **path** (*pathlib.Path*) –

Return type:
:   None