json tag

194 questions


1 answers
42 views
0
Questions about Android Studio App Development

There are already many in the market, but I'm going to make a wise saying app as a portfolio and practice.The method I thought of before starting the project was Write json data with HTml file and upl...


2 answers
35 views
0
Python) How do I convert float type to string when I create json file?

We are working on code to convert excel file to json file.In the meantime, the part that needs to go into the string is float type, so I'm having a hard timeI don't know how to change float type to st...

2 years ago

1 answers
36 views
0
Create a ranking with json. Sort by specific properties.

{ 720924012909166682: { 770571591422836757: { lvl: 6, exp: 12 }, 409679882327687168: { lvl: 1, exp: 0 }, 507504723184844813: { lvl: 5, exp: 20 } }}Inside the json file to use.with open('pa...

2 years ago

1 answers
43 views
0
Python Ranking Features

with open(main.json) as f: lvs = json.load(f)v1_sorted_by_lvl = sorted(lvs.items(), key=lambda e: e[1][money], reverse=True)write = []for i, (k, v) in enumerate(v1_sorted_by_lvl, start=1): write.appen...

2 years ago

1 answers
32 views
0
Python json extraction

[ { type: roster, id: 407df467-f9f0-4745-8ed9-99f77cc25805, attributes: { stats: { rank: 2, teamId: 6 }, won: false, shardId: steam }, relationships: { team: { data: null }, participants: { data: ...

2 years ago

1 answers
35 views
0
[python] Pull the value of a specific key from json to make it a list

[ { A:C:/user/..., B:2 }, { A:C:/abd/..., B4 } ]When the above file is referred to as example.json, I would like to make a list by extracting only the values for key'A'. How can I code in this...

2 years ago

2 answers
41 views
0
[python] Save json

def lnktojson(lnkdata_path): file_list = glob.glob(os.path.join(lnkdata_path, '*.lnk')) json_data = [] for f_idx in range(len(file_list)): try: #save json data file = Lnk.file_open(file_list[f_idx]...

2 years ago

1 answers
37 views
0
Extract only certain values from json files

{ 1.png896616:{ filename:1.png, size:896616, regions:[ { shape_attributes:{ name:polygon, all_points_x:[ 286,284,...... ], all_points_y:[ 94,93,.... ] }, region_attribut...

2 years ago

1 answers
49 views
0
I want to bring the entire page of the Kakao shopping site from Python, but I know I have to bring it to json, but the price doesn't come up.

https://store.kakao.com/search/result/product?q=%EC%83%B4%ED%91%B8I'll go to the site andI pressed F12 and got the address from the networkhttps://store.kakao.com/a/search/products?timestamp=162824655...

2 years ago

1 answers
45 views
0
Python type error

Hello, I am making a web server with [email protected]('/licanse/minus/<licanse_c>')def minus(licanse_c): licanse_find = list(db.user.find({licanse: licanse_c}, {'_id': False})) if licanse_find ==...

2 years ago
« - 19 - »

© 2024 OneMinuteCode. All rights reserved.