| NameError | Python 3.9.2: Mon Apr 27 07:45:01 2026 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /srv/www/users/hugo/tmp/hack2/setuid/main.py in <module> |
| 13 email = form.getvalue('email') |
| 14 |
| 15 with open('anmälningar.csv', 'a') as f: |
| => 16 print((name, email), file=f) |
| 17 |
| builtin print = <built-in function print>, name undefined, email = None, file undefined, f = <_io.TextIOWrapper name='anmälningar.csv' mode='a' encoding='UTF-8'> |
NameError: name 'name' is not defined
args =
("name 'name' is not defined",)
with_traceback =
<built-in method with_traceback of NameError object>