I'm new to python and javascript so I don't know much about their data sharing capabilities. Below is the dictionary (whose data I want to send) in a database file I have called database.py. How can I take this data and send it to my javascript file "Calendar.js" so I can use it in a function later?
agenda = {'id' : num,
'eventName' : eventName,
'eventType' : eventType,
'location' : location,
'date' : date,
'time' : time,
'compName' : compName,
'attire' : attire,
'additional' : additional}