password property

password property

The password for opening an encrypted document.

Can be None or empty string. The default value is None. If the document is not encrypted, set this to None or the empty string.

Definition:

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

See Also