Re: simple python 2 to python question

2020-12-11 Thread Chris
On 2020-12-11 14:41, Douglas Thrift wrote: On 12/11/2020 2:06 PM, Chris wrote: Hello all, I'm working on a port I maintain to become py3x compatible. I'm down to one lousy error: passwd.py", line 25    chmod(self.pw_file, 0600)    ^ SyntaxError: invalid token I tried to

Re: simple python 2 to python question

2020-12-11 Thread Douglas Thrift
On 12/11/2020 2:06 PM, Chris wrote: Hello all, I'm working on a port I maintain to become py3x compatible. I'm down to one lousy error: passwd.py", line 25    chmod(self.pw_file, 0600)    ^ SyntaxError: invalid token I tried to sort it, but failed. So allowed 2to3 to tak

simple python 2 to python question

2020-12-11 Thread Chris
Hello all, I'm working on a port I maintain to become py3x compatible. I'm down to one lousy error: passwd.py", line 25chmod(self.pw_file, 0600) ^ SyntaxError: invalid token I tried to sort it, but failed. So allowed 2to3 to take a shot at it, and it returned: chmod