Python 2.7 and 3.9

Pieter van Oostrum pieter-l at vanoostrum.org
Thu Feb 18 13:44:40 EST 2021


Ethan Furman <ethan at stoneleaf.us> writes:

> On 2/16/21 12:09 PM, Kevin M. Wilson via Python-list wrote:
>
>> My employer has hundreds of scripts in 2.7, but I'm writing new
>> scripts in 3.9! I'm running into 'invalid syntax' errors.I have to
>> maintain the 'Legacy' stuff, and I need to mod the path et al., to
>> execute 3.7 w/o doing damage to the 'Legacy' stuff...IDEA' are
>> Welcome!
>
> My first idea/request: have a blank line, a line with only a '--'
> (without quotes), and then your signature at the bottom of your posts. 
> White space aids readability and readability counts.  :)

The separator line should be '-- ' (without quotes), i.e. with a trailing space.
-- 
Pieter van Oostrum
www: http://pieter.vanoostrum.org/
PGP key: [8DAE142BE17999C4]


More information about the Python-list mailing list