Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

has no attribute pythin

# one might have tried to access something that doesn't exist
# inside the object

sample = [1, 2]
sample.append(3) 

sample.push(3)
# This raises AttributeError saying 
# push doesn't exist inside an object of list
 
PREVIOUS NEXT
Tagged: #attribute #pythin
ADD COMMENT
Topic
Name
4+5 =