PyQt Digest, Vol 194, Issue 31

Kyle Altendorf sda at fstab.net
Thu Sep 24 01:00:29 BST 2020


On 2020-09-23 18:28, Bryce Beagle wrote:
> We've found using the resource files easier than using paths when 
> distributing with PyInstaller. Also the built-in translation support 
> for files is convenient.

I would expect importlib.resources to be the Python 'equivalent' of Qt 
resources.

https://docs.python.org/3/library/importlib.html#module-importlib.resources

The use I hear about for resources files is being able to specify the 
icons etc in Designer rather than in code.

Cheers,
-kyle


More information about the PyQt mailing list