[Tutor] Union

Jim jf_byrnes at comcast.net
Mon Aug 12 16:50:17 EDT 2019


I was reading the docs for PySimpbleGUI here: 
https://pysimplegui.readthedocs.io/en/latest/#building-custom-windows

In the table of parameters for the Window() function for example the 
icon parameter the meaning is  Union[str, str] Can be either a filename 
or Base64 value.

What is the usage of "Union". I don't recall seeing anything like it before.

Thanks,  Jim


More information about the Tutor mailing list