You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#### Error raised when using a method or property that doesn't exist for that data type
##### example
num = 42
num.append(5)
#AttributeError: 'int' object has no attribute 'append'
#### Interactive Debugging with the pdb Module
##### example with explanation
import pdb
def divide(a/b):
pdb.set_trace()
return a / b
print(divide(10,2))
#the output of this code will show the location of the file being run, the line where the .set_trace() was called and and interactive pdb prompt; entering help into the prompt a list of commands that can be used will be displayed