william4416 commited on
Commit
aada4b6
·
verified ·
1 Parent(s): d0170cc

Update uts_courses.json

Browse files
Files changed (1) hide show
  1. uts_courses.json +7 -1
uts_courses.json CHANGED
@@ -11,4 +11,10 @@
11
  "Built Environment": ["Urban Planning", "Construction Management", "Property Economics", "etc."],
12
  "Creative Industries": ["Animation", "Photography", "Creative Writing", "Film and Television", "etc."]
13
  }
14
- }
 
 
 
 
 
 
 
11
  "Built Environment": ["Urban Planning", "Construction Management", "Property Economics", "etc."],
12
  "Creative Industries": ["Animation", "Photography", "Creative Writing", "Film and Television", "etc."]
13
  }
14
+ }
15
+
16
+ try:
17
+ with open("uts_courses.json", "r") as file:
18
+ courses_data = json.load(file)
19
+ except Exception as e:
20
+ print("An error occurred while loading JSON file:", e)