Re: Add -P command line option to not add sys.path[0]
27 Apr
2022
27 Apr
'22
12:38 p.m.
On 27. 04. 22 21:34, Steve Holden wrote:
So would PYTHONDONTADDSCRIPTDIR=1 be a better choice?
No because for other invocations, it prevents PWD being added, not the scriptdir. Both names are bad becasue they only describe half of what's it doing (or maybe the option should not do both, if it's hard to explain). -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok
754
Age (days ago)
754
Last active (days ago)
0 comments
1 participants
participants (1)
-
Miro Hrončok