__init__ constructor

On this page

init

Initializes a logger that writes to a file.

def __init__(self, file_name):
    ...
Parameter Type Description
file_name str Full file name with path.

See Also

On this page