1

I am getting an AttributeError when trying to call a class in python. I saw this excellent post on diagnosing it:

Python AttributeError: Object has no attribute.

However when I enter the diagnostic command that was suggested in the post with the following command

python -tt script.py 

into a cell into my jupyter notebook it then returns:

SyntaxError: invalid syntax

Can someone tell me how to modify this command so it works in a jupyter notebook and returns what I am doing wrong?

Community
  • 1
  • 1
learningcompsci
  • 193
  • 2
  • 5
  • 12

0 Answers0