Structs declared and exported in Slint are now available in the module namespace with a constructor. Fixes #5708
This is the Python version of the Slint Printer Demo.
pipenv update
pipenv run python main.py
The source code of the Python version is in main.py.