Using command line arguments to open files with PyQt5 apps -- Windows file associations

A post was split to a new topic: How to specify absolute paths for QIcon