With [code]...[/code] tags ...And that's correct for Python 2 which you seem to be using.
This is acceptable in Python 3 -This should be an equivalent in Python 2 -No idea if that will work and there is probably more stuff in the code which won't work with Python 2.
Code:
cmd = [sys.executable, 'evdev/genecodes.py', *headers] ^ SyntaxError: invalid syntaxThis is acceptable in Python 3 -
Code:
cmd = [sys.executable, 'evdev/genecodes.py', *headers]Code:
cmd = [sys.executable, 'evdev/genecodes.py']for this in headers: cmd.append(this)Statistics: Posted by hippy — Sat May 04, 2024 10:17 pm