when may sys.executable be empty

Robin Becker robin at reportlab.com
Thu Mar 12 12:55:32 EDT 2015


On 11/03/2015 18:15, Dave Angel wrote:
.........
>
> Just speculating, but how about when the main executable is not python at all,
> but it uses a DLL or .so file with Python interpreter.
>
>
when I run a django wsgi.py using uwsgi sys.executable points at the uwsgi 
executable. To run subprocess etc I have to find the python that's parallel to 
uwsgi (works in a virtualenv at least).
-- 
Robin Becker




More information about the Python-list mailing list