Created EXE of python program with pyinstaller. I generated exe with the following command :
pyinstaller --onefile exportimport.py
When i open the program it will open two windows one is command shell or other my GUI windows like shown below:
In some cases we need not the Command prompt behind this. so we can override the black window with following commands:
pyinstaller --onefile --noconsole exportimport.py
After creating this we did not see two windows open only GUI window will work for me.