Barry Warsaw writes:
> On Jun 23, 2016, at 11:17 AM, Ben Finney wrote:
>
> >There isn't, AFAIK, anything portable that I can write in the shebang
> >to turn a command invocation of ‘./foo/bar.py’ into ‘python3 -m
> >foo.bar’.
>
> Why not just have a file that contains only?
>
> exec python3 -
On Jun 23, 2016, at 11:17 AM, Ben Finney wrote:
>There isn't, AFAIK, anything portable that I can write in the shebang to
>turn a command invocation of ‘./foo/bar.py’ into ‘python3 -m foo.bar’.
Why not just have a file that contains only?
exec python3 -m foo.bar
Cheers,
-Barry
Barry Warsaw writes:
> On Jun 22, 2016, at 11:25 AM, Ben Finney wrote:
>
> >There is a compounding tendency to disparage ‘python3 ./foo/bar.py’,
> >[…]. I wish this trend could be effectively reversed, because IMO
> >this is a serious impediment to considering Python a good choice for
> >command-
3 matches
Mail list logo