Hi,
The Traceback below is not clear and does not even seem accurate - I cannot find an unmatched '('.
I just purchased Pythonista (don't know why I get 'N/A' for version below) and tried importing a module (utils.py) of mine that I just downloaded from Github. The module shows no syntax errors in my vscode on a mac, and I've been using it without issue.
Please advise.
--- SYSTEM INFORMATION ---
System Information
- Pythonista N/A (N/A), Default interpreter 3.10.4
- iOS 26.4.2, model iPhone14,7, resolution (portrait) 1170.0 x 2532.0 @ 3.0
--- SYSTEM INFORMATION ---
Traceback (most recent call last):
File "/private/var/mobile/Containers/Shared/AppGroup/72C18C34-D121-4921-8476-88F6E1D41D8C/Pythonista3/Documents/site-packages/Untitled.py", line 1, in
import utils
File "/private/var/mobile/Containers/Shared/AppGroup/72C18C34-D121-4921-8476-88F6E1D41D8C/Pythonista3/Documents/site-packages/utils.py", line 565
query = f"SELECT {(",").join(f)} FROM {t} WHERE {q[0]} = ? AND {q[1]} = ? AND {q[2]} = ?"
^
SyntaxError: f-string: unmatched '('
Hi,
The Traceback below is not clear and does not even seem accurate - I cannot find an unmatched '('.
I just purchased Pythonista (don't know why I get 'N/A' for version below) and tried importing a module (utils.py) of mine that I just downloaded from Github. The module shows no syntax errors in my vscode on a mac, and I've been using it without issue.
Please advise.
--- SYSTEM INFORMATION ---
System Information
--- SYSTEM INFORMATION ---
Traceback (most recent call last):
File "/private/var/mobile/Containers/Shared/AppGroup/72C18C34-D121-4921-8476-88F6E1D41D8C/Pythonista3/Documents/site-packages/Untitled.py", line 1, in
import utils
File "/private/var/mobile/Containers/Shared/AppGroup/72C18C34-D121-4921-8476-88F6E1D41D8C/Pythonista3/Documents/site-packages/utils.py", line 565
query = f"SELECT {(",").join(f)} FROM {t} WHERE {q[0]} = ? AND {q[1]} = ? AND {q[2]} = ?"
^
SyntaxError: f-string: unmatched '('