On Sat, Jun 26, 2021 at 12:28 AM Chris Green wrote:
>
> Greg Ewing wrote:
> > On 25/06/21 7:06 am, Chris Green wrote:
> > > In python 2 one can do:-
> > >
> > > for msg in maildir:
> > >print msg # or whatever you want to do with the message
> > >
> > >
> > > However in pytho
Gilmeh Serda wrote:
> On Fri, 25 Jun 2021 09:19:49 +0100, Chris Green wrote:
>
> > TypeError: string argument expected, got 'bytes'
>
> couple things comes to mind:
>
> 1. find py2 as archive, put it somewhere and run it from that
>
Hmm! :-)
> 2. convert the bytes to str (find and replace)
>
Greg Ewing wrote:
> On 25/06/21 7:06 am, Chris Green wrote:
> > In python 2 one can do:-
> >
> > for msg in maildir:
> >print msg # or whatever you want to do with the message
> >
> >
> > However in python 3 this produces "TypeError: string argument
> > expected, got 'bytes
In 2019, we have set up the Guido van Rossum Core Developer Grant, to
make it easy for Python Core Developers to attend EuroPython, but also
to give something back to the core team and add a perk to make core
development more attractive.
If you are a core developer, please check our grant page for