encoding property

encoding property

Sets the encoding used when opening text-based files or email messages such as FileType.CSV, FileType.TXT, and FileType.MSG. Default value is UTF8.

Remarks

For code example, see the documentation.

Definition:

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

See Also