default_file_password Property
The default encryption password to use when creating or opening files and alternate streams.
Syntax
def get_default_file_password() -> str: ... def set_default_file_password(value: str) -> None: ...
default_file_password = property(get_default_file_password, set_default_file_password)
Default Value
""
Remarks
This property specifies the default encryption password that the class should use when creating or opening files and alternate streams.
Please refer to the Encryption topic for more information.
As an alternative to using this property, applications can call the cache_file_password method (before a file is opened) to specify a one-time-use password, or specify file encryption passwords dynamically using the on_file_password_needed event.