Terry J. Reedy added the comment:

Either tkinter and tkinter.messagebox or subprocess must be imported to display 
a message when IDLE is started from an icon, and there is no console.  With 
subprocess, '''python -i -c "print('Cannot start IDLE (or whatever)')"''' 
should work.  If nothing else, this would be a way to display a message when 
import tkinter fails.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25514>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to