Sujet : Re: Printing UTF-8 mail to terminal
De : jon+usenet (at) *nospam* unequivocal.eu (Jon Ribbens)
Groupes : comp.lang.pythonDate : 01. Nov 2024, 23:05:54
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <slrnviagli.5qt.jon+usenet@raven.unequivocal.eu>
References : 1 2 3 4
User-Agent : slrn/1.0.3 (Linux)
On 2024-11-01, Eli the Bearded <*@eli.users.panix.com> wrote:
In comp.lang.python, Gilmeh Serda <gilmeh.serda@nothing.here.invalid> wrote:
Python 3.12.6 (main, Sep 8 2024, 13:18:56) [GCC 14.2.1 20240805] on linux
Type "help", "copyright", "credits" or "license" for more information.
help('modules')
Please wait a moment while I gather a list of all available modules...
AssemblyApp apparmor io pyzipper
AssemblyGui appdirs ipaddress qrtools
CAMSimulator application_utility isodate queue
Cheetah apprise isort quopri
[...]
"""
Put it in a list, unmangle it, sort it and you should have an alphabetical
list of all modules on your system.
>
As someone who has done a lot of work with email in other languages,
"quopri" is not a name I'd expect or look for first pass for dealing
with MIME quoted-printable encoding. (Me, being me, I'd probably just
write it for myself if I didn't quickly find it while working with
email.)
Python went through a period of time where lots of things just got stuck
in the standard library without any particula taxonomy. Hence ending up
with base64, binascii, binhex, quopri, and uu all being separate
top-level modules, only some of which got tidied up in Python 3.