3 ms·
> And the environment? [it’s not even clear.] https://stackoverflow.com/questions/44479826/how-do-you-set-a-string-of-bytes-from-an-environment-variable-in-pyth
by minitech 8y ago
> And the environment? [it’s not even clear.] https://stackoverflow.com/questions/44479826/how-do-you-set-a-string-of-bytes-from-an-environment-variable-in-python https://stackoverflow.com/questions/44479826/how-do-you-set-...
That question is about interpreting backslash escape sequences for bytes in an environment variable. All this person wants is `os.environb` (and look, its existence highlighted a Windows incompatibility, saving them from subtle bugs like every other Python 3 improvement). https://docs.python.org/3/library/os.html#os.environb https://docs.python.org/3/library/os.html#os.environb
- mixmastamyk 8y agoThanks, never noticed environb. I’m still learning new things about Python 3 ten years later.