I am converting a program from Matlab code to Python code. I am unsure how to approach this part of the code.
sort_function = what('sort_natural'); % Find characteristics of the function sort_natural
sort_functionPath = addpath(sort_function.path) % Store and add to Matlab path
(sort_natural is a function written to sort folders in natual order)
What are the Python equivalents of 'what' and 'addpath.' I know Python does not work the same as Matlab in regards to a path, but how would I convert these lines into Python.