Advertisement
kingjamez12

lic_jason

Dec 13th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. import json
  2. from datetime import date
  3.  
  4. licenses = {
  5. "New York State Driver License": date(2021,12,11),
  6. "Security Guard License": date(2020,11,20),
  7. "Z-89 Fire Life Safety Director": date(2020,5,21),
  8. "F-85 Fire Safety Director": date(2020,3,7),
  9. "N-60 Watchperson at Construction Sites": date(2022,2,20),
  10. "S-14 City Wide Standpipe System": date(2022,2,12),
  11. "S-12 City Wide Sprinkler Systems": date(2020,6,4)
  12. }
  13.  
  14. with open("data_file.json", "w") as write_file:
  15. json.dump(licenses, write_file)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement