Unable to run mod.py #77

Closed
opened 2022-12-27 05:43:36 +01:00 by man · 2 comments
 ./mod.py
  File "/home/rackA2/0x0/./mod.py", line 58
    match fcol:
          ^
SyntaxError: invalid syntax

This is the default file.

Also different errors when using different pythons

rackA2@01:~/0x0$ python mod.py
  File "mod.py", line 35
    async def action_quit_app(self):
            ^
SyntaxError: invalid syntax
rackA2@01:~/0x0$ python3 mod.py
  File "/home/rackA2/0x0/mod.py", line 58
    match fcol:
          ^
SyntaxError: invalid syntax

rackA2@01:~/0x0$ python2 mod.py
  File "mod.py", line 35
    async def action_quit_app(self):
            ^
SyntaxError: invalid syntax
rackA2@01:~/0x0$
``` ./mod.py File "/home/rackA2/0x0/./mod.py", line 58 match fcol: ^ SyntaxError: invalid syntax ``` This is the default file. Also different errors when using different pythons ``` rackA2@01:~/0x0$ python mod.py File "mod.py", line 35 async def action_quit_app(self): ^ SyntaxError: invalid syntax rackA2@01:~/0x0$ python3 mod.py File "/home/rackA2/0x0/mod.py", line 58 match fcol: ^ SyntaxError: invalid syntax rackA2@01:~/0x0$ python2 mod.py File "mod.py", line 35 async def action_quit_app(self): ^ SyntaxError: invalid syntax rackA2@01:~/0x0$ ```
Owner

Your version of Python is too old to have pattern matching. Think you might need 3.10.

Your version of Python is too old to have [pattern matching](https://peps.python.org/pep-0636/). Think you might need 3.10.
mia closed this issue 2022-12-27 05:47:35 +01:00
Author

Your version of Python is too old to have pattern matching. Think you might need 3.10.

Thank you very much! Your project is incredible by the way. HUGE FAN!!!!!!!

> Your version of Python is too old to have [pattern matching](https://peps.python.org/pep-0636/). Think you might need 3.10. Thank you very much! Your project is incredible by the way. HUGE FAN!!!!!!!
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: mia/0x0#77
No description provided.