get_docstring

Import in python using from mcutils.utils.scripts import get_docstring

mcutils.utils.scripts.get_docstring(filename)[source]

Extracts the filename from the docstring

Parameters

filename – path to python file

Returns

module-level docstring (None if undefined)