Printing UTF-8 mail to terminal

Jon Ribbens jon+usenet at unequivocal.eu
Fri Nov 1 17:05:54 EDT 2024


On 2024-11-01, Eli the Bearded <*@eli.users.panix.com> wrote:
> In comp.lang.python, Gilmeh Serda  <gilmeh.serda at 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.


More information about the Python-list mailing list