password property

password property

The password used to open an encrypted document.

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

Definition:

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

See Also