Python strange Error "TypeError: 'property' object is not subscriptable"

Hello All,

the same Python Code, the same directory. if i run it with IDE Atom, everything is fine no Error, if i run the file with IDE VSCode i got the following error (see the picture). can some one help, i have no idee where or what is here the problem? Thanks in Advance.!