Re: Path puzzle
- Reply: Mark Millard : "Re: Path puzzle"
- Reply: Steve O'Hara-Smith : "Re: Path puzzle"
- Reply: Michael Stiller : "Re: Path puzzle"
- In reply to: Steve O'Hara-Smith : "Re: Path puzzle"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 Sep 2024 01:26:57 UTC
On Thu, Sep 05, 2024 at 07:47:23PM +0100, Steve O'Hara-Smith wrote: > On Thu, 5 Sep 2024 11:37:06 -0700 > bob prohaska <fbsd@www.zefox.net> wrote: > > > bob@pelorus:~ % head server_try > > #!/usr/bin/python3.11 > > Bingo! On FreeBSD python3.11 will be in /usr/local/bin not /usr/bin. > > This is why the recommended shebang for python code is > > #!/usr/bin/env python3.11 > > Which is portable. Thank you....never crossed my mind to check the executable location 8-( It turns out that the python code being run (from https://gitlab.com/ldo/ssl_try_python) works on Debian Linux Bookworm but not on FreeBSD stable/14.1. Is there a guide to differences between the dialects? Apologies for the noise..... bob prohaska > > -- > Steve O'Hara-Smith <steve@sohara.org>