Progress Paths Module

progress.paths.get_path()

Determines the base path of the application.

If the application is running in a frozen state (e.g., packaged with PyInstaller), this function returns the directory containing the executable. Otherwise, it returns the directory containing the current script.

Returns:

The absolute path to the application’s base directory.

Return type:

str