load the json file
This commit is contained in:
parent
a152737725
commit
df27844a36
2 changed files with 5 additions and 0 deletions
0
cars/__init__.py
Normal file
0
cars/__init__.py
Normal file
5
cars/main.py
Normal file
5
cars/main.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
import json
|
||||
|
||||
if __name__ == '__main__':
|
||||
with open('cars.json') as f:
|
||||
cars = json.load(f)
|
Loading…
Add table
Reference in a new issue