when may sys.executable be empty

YBM ybmess at nooos.fr.invalid
Wed Mar 11 12:11:39 EDT 2015


Le 11/03/2015 15:41, Wolfgang Maier a écrit :
>  From the documentation of sys.executable:
>
>      A string giving the absolute path of the executable binary for the
> Python interpreter, on systems where this makes sense. If Python is
> unable to retrieve the real path to its executable, sys.executable will
> be an empty string or None.
>
> So on which systems does it not make sense ?
>
> Thanks for any help,
> Wolfgang

On this kind of system (python for microcontroller, running on bare
metal), I guess:

http://micropython.org/



More information about the Python-list mailing list