Skip to content Skip to sidebar Skip to footer

Python3 Programme Raising Typeerror: 'dict' Object Is Not Callable

I basically tried to write a programme which will send mails to a list of users.i ran the programme below and it is telling me that TypeError: 'dict' object is not callable. I cant

Solution 1:

in python, in order to access values in a dict, you have two ways:

  1. dict['key']
  2. dict.get('key')

dict('key') will not work.

Post a Comment for "Python3 Programme Raising Typeerror: 'dict' Object Is Not Callable"