Sujet : Re: Printing UTF-8 mail to terminal
De : cs (at) *nospam* cskk.id.au (Cameron Simpson)
Groupes : comp.lang.pythonDate : 01. Nov 2024, 22:52:22
Autres entêtes
Message-ID : <mailman.70.1730497948.4695.python-list@python.org>
References : 1 2
User-Agent : Mutt/2.2.13 (2024-03-09)
On 31Oct2024 21:53,
alan.gauld@yahoo.co.uk <
alan.gauld@yahoo.co.uk> wrote:
On 31/10/2024 20:50, Cameron Simpson via Python-list wrote:
If you're just dealing with this directly, use the `quopri` stdlib
module: https://docs.python.org/3/library/quopri.html
>
One of the things I love about this list are these little features
that I didn't know existed. Despite having used Python for over 25
years, I've never noticed that module before! :-)
Heh. And James Parrott caused me to discover the `subprocess.run(executable_path)` mode of `run()/Popen()`: a string with `shell=False` (the default) is an executable name.