Antoine Pitrou <pitrou at free.fr> added the comment: Why would sys.executable be a directory? ---------- nosy: +pitrou _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue7880> _______________________________________