I am writing a program to encrypt files in Python. The file has its own personal extension (none other doesn’t fit my tasks), and so that the file was not without an icon, I drew my own in * .ico format. When creating a file through python ...
#something like this open('somefile.bc', 'w').close() I want my icon to be assigned to them (well, for example, how visual studio creates its project file with its extension and icon). I want to know if this is possible in Python, and if not, then maybe it is possible in c ++? I would be very grateful because I did not find the answer anywhere.