Simple question but for some weird reason I cannot find the answer online.
For some error in a python script, i.e.:
$ python3 script.py
'NoneType' object is not iterable
How can I make it show where the error is being hit in my script (ex. line number, or the '^' thing), without additional code.