getFileVersion

mobase.getFileVersion(filepath)

Retrieve the file version of the given executable.

Parameters

filepath – Absolute path to the executable.

Returns

The file version, or an empty string if the file version could not be retrieved.

Return type

str