×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: KONSTANTIN SEMIN
Added: Oct 24, 2021 3:16 PM
Views: 2197
Tags: #json_read
  1. def read_data():
  2.     with open('data.json', 'r', encoding='utf8') as f:
  3.         data = json.load(f)
  4.         return data