On 6/5/19 at 3:57 PM, [email protected] (jjon) wrote:

I'm missing something obvious: Running python scripts from within BBedit 12.6.4 doesn't seem to respect anything I put in the shebang line. BBedit runs python3.7 no matter what. The entire contents of p3test.py is help()

In the 12.6.4 change notes:

*   When running a Python script, if python3 is anywhere in your $PATH,
BBEdit will use it instead of python. While this is generally useful
    in a teaching environment, if you are using a custom Python
installation (such as Anaconda), it may prove inconvenient. In that
    case, disabling automatic use of python3 will help:

    defaults write com.barebones.bbedit RunUsingPython3 -bool NO

Also, I believe that using "Run in Terminal" will always use the #! line, so give that a try if the expert preference doesn't do the job.

R.
--
Rich Siegel                                 Bare Bones Software, Inc.
<[email protected]>                      <http://www.barebones.com/>

Someday I'll look back on all this and laugh... until they sedate me.

--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
--- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/r480Ps-10145i-2182085C50DA4AAB8D096F6C8D9A5B9A%40Stormwind.local.

Reply via email to