On Thu, Jun 6, 2019 at 6:06 AM Rich Siegel <[email protected]> wrote:
> On 6/5/19 at 5:35 PM, [email protected] (Jon Crump) wrote: > > >Thanks for the quick response Rich. Yes, setting that boolean > >RunUsingPython3 "fixed" the problem. But now I can't get bbedit to use my > >python 3 installation if I put it in the shebang line. > > When running Perl, Python, or Ruby scripts, BBEdit does not use > or interpret the #! line. This decision goes back a long way in > time, I think to 11.0 but possibly before. That's not really a very long way. I've used BBedit for a Long Time. > (The issue this > solves is that everyone who's trying to learn Python uses the > same tutorial pattern which involves "#!/usr/bin/env python" or > something similar, then they install Python3 and wonder why > BBEdit doesn't use that.) > Yes. That's what happened to me. But what I wonder is why BBEdit doesn't use what I tell it to use. > If you'll forgive the nit: the expert preference is > application-specific, and does not affect the system behavior. > Yes. I take your point, and gladly forgive. I just don't want to have to set and unset this every time I run a script. > If you have a use case that involves a need to frequently switch > between different versions of Python, please write to > <[email protected]> and describe your needs in detail, and > we'll see what we can do. > I only make an issue of it because my use case is as follows: I've got a couple of decades worth of python scripts, written for several different versions of Python, and I really liked being able to run them from within my text editor. That was a primary reason why I chose this text editor: because I could do that. Now I can't. > Anything that doesn't involve trying to read your mind at the > moment you press Command-R may be possible, but I can't make any > promises right now. > Fortunately, BBEdit doesn't have to read my mind. It only has to read my script. My intentions are explicit right there at the top of each one. J. –– Si vis pacem, bellum adflicta. –– PS. Please don't mistake my tone: I've long been a big fan of BBEdit, and I still am. Moreover I've always been happy with how helpful and responsive Bare Bones has always been. Kudos to all. -- 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/CAGDPNbdpJ2M4dpDpRe5zPfG2Xy4%3DEcZYCeqjiKEYe3Sast_C0g%40mail.gmail.com.
