Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #87324 > unrolled thread

Re: when may sys.executable be empty

Started byRobin Becker <robin@reportlab.com>
First post2015-03-12 16:55 +0000
Last post2015-03-12 16:55 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: when may sys.executable be empty Robin Becker <robin@reportlab.com> - 2015-03-12 16:55 +0000

#87324 — Re: when may sys.executable be empty

FromRobin Becker <robin@reportlab.com>
Date2015-03-12 16:55 +0000
SubjectRe: when may sys.executable be empty
Message-ID<mailman.298.1426179337.21433.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web