You can get rid of console very easily!
Before Building the File to exe, Just change the python file name from example.py to example.pyw .(the "w" indicates "without console")
Its That simple!
Now you can,
Pyinstaller --onefile example.pyw it.
And Boom! Console is Gone!! =D