DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
reading the JSON from a JSON file
import
json
with
open
(
"sample_data.json"
,
"r"
)
as
file
:
data
=
json
.
load
(
read_file
)
print
(
data
)
Source by medium.com #
PREVIOUS
NEXT
Tagged:
#reading
#JSON
#JSON
#file
ADD COMMENT
Topic
COMMENT
Name
7+1 =
Submit