password property

password property

The password for opening an encrypted document.

The password may be None or an empty string. The default value is None. If the content is not encrypted, set this to None or an empty string.

Definition:

@property
def password(self):
    ...
@password.setter
def password(self, value):
    ...

See Also