password property

password property

The password used to open an encrypted document.

Can be None or an 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