I am new to python and after learning some topics i wanted to do a small project (an email sender).When i was researching a bit about libraries needed and some examples, I saw the following piece of code :
msg['Subject'] = 'The contents of %s' % textfile
msg['From'] = me
msg['To'] = you
I am confused about the syntax:
var['something'] = anything
What does this syntax imply? Please help.