When I run a script /usr/bin/python -u ... is lauched.
I want to change it with, for exemple, /usr/env python -u ...
Is it possible ?
sys.executable is used.
If you start DrPython with /usr/bin/python then
this path is the value of it.
Otherwise you could hack it:
(last line in
self.pythexec = <your python path>
Thank for your answer.
In debian sid drpython doesn't work with python2.4, thus I can't use the first solution.
The second solution is interesting but I don't like to have an hacked version of the code.
Is it possible to change this value using a DrScript ? How (if you have the time for an answer)?
Thank you again
I for myself changed some things, I don't like
with a startup plugin, which is loaded by default.
(Edit Indexes and add it to default.idx)
You could take a look at it (my startup plugin)
So in your case you could add something like:
<tab>sys.executable = '<your path>
It crosses my mind, that it is better to simply write:
DrFrame.pythexec = "<your python exe path>"
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.