__init__ constructor

On this page

init

Initializes a new instance of FileType.

def __init__(self):
    ...

init

Initializes a new FileType instance.

def __init__(self, file_format, extension):
    ...
Parameter Type Description
file_format str File format e.g. “Drawing Exchange Format File”.
extension str File extension with dot e.g. “.dxf”.

See Also

On this page