Extract lines from file, add to new files

Chris Angelico rosuav at gmail.com
Mon Jan 15 03:51:26 EST 2024


On Mon, 15 Jan 2024 at 19:26, Greg Ewing via Python-list
<python-list at python.org> wrote:
>
> On 15/01/24 9:07 pm, Chris Angelico wrote:
> > The grammar *can't* specify everything. If it did, it would have to
> > have rules for combining individual letters into a NAME and individual
> > characters into a string literal.
>
> The lexical level of a grammar can be, and often is, described
> formally using regular expressions.
>
> Although some might consider that this doesn't contradict
> your statement about readability. :-)
>

Not even slightly :)

ChrisA


More information about the Python-list mailing list