Skip to main content

get_file

Get filename for static file.

def get_file(
*args: str
) - > string

Get filename for static file.

Parameters​

NameTypeDescription
*argsstrOne or more path segments used to construct the relative path to the static file from the current module's directory.

Returns​

TypeDescription
stringThe absolute file system path to the static file, constructed by joining the directory of the current module with the provided path segments.