basically, create a python file.  invoke the python  app. here are some
examples
https://www.google.com/search?q=run+pythonrom+sh&oq=run+pythonrom+sh&aqs=chrome..69i57j0i13i512l4j0i13i30l4j0i8i13i30.34303j0j7&sourceid=chrome&ie=UTF-8

On Wed, Oct 9, 2024 at 6:24 PM "Jan Erik Moström" <[email protected]>
wrote:

> On 9 Oct 2024, at 23:00, Patrick Woolsey wrote:
>
> > Good afternoon and please pardon the obvious :-) but is there any reason
> not to just create a script which compounds the desired commands and run
> that within BBEdit?
> >
> > ========
> > #!/bin/sh
> >
> > bbedit -c ~/Desktop/only_one.txt
> >
> > echo "Nullam.txt" | bbedit --append
> > ========
>
> Only that I hope to later do some scripts that would involve some slightly
> more complex stuff, and I'm more comfortable using Python than sh (there
> are a few more things I want to do before getting BBEdit to do it's thing).
> While sh and I were friends, the keywords are "were" and the missing
> "close", I'm pretty much a complete newbie at this time.
>
> It's also bin (sigh, I'm trying to learn German) a while since I used
> subprocesses in Python so I was trying to brush up on that part as well,
> and this script seemed to be a simple start.
>
> But you're completely right, for this very simple script this would work
> just fine.
>
> = jem
>
> --
> This is the BBEdit Talk public discussion group. If you have a feature
> request or believe that the application isn't working correctly, please
> email "[email protected]" rather than posting here. Follow @bbedit on
> Mastodon: <https://mastodon.social/@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 view this discussion on the web visit
> https://groups.google.com/d/msgid/bbedit/CE8DDCA0-7D5A-478E-8144-D1F1E0948D13%40mostrom.pp.se
> .
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or believe that the application isn't working correctly, please email 
"[email protected]" rather than posting here. Follow @bbedit on Mastodon: 
<https://mastodon.social/@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 view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CACnDgvU8cL-B9Z3LMuYT4b9%2Ba0mxX-i-PwD9ycXz6%3D8ikKAAzg%40mail.gmail.com.

Reply via email to