Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How to insert data json to treeview tkinter?
Post: RE: How to insert data json to treeview tkinter?

Nice, now I understand the difference and I was able to apply it. Quote:You use json.dump(python_object) to write a json file. You cannot dump() a TreeView, so you'll need to collect the TreeView it...
Shakanrose GUI 8 4,486 Jan-19-2023, 03:58 PM
    Thread: How to insert data json to treeview tkinter?
Post: RE: How to insert data json to treeview tkinter?

does not work with load, it says Error:AttributeError: 'str' object has no attribute 'read'with loads it shows me the json data in the treeview. Now I have another question, I have some entries to ...
Shakanrose GUI 8 4,486 Jan-18-2023, 07:05 PM
    Thread: How to insert data json to treeview tkinter?
Post: RE: How to insert data json to treeview tkinter?

You are right, I tried it this way and it worked. Now I can see the data in the table. f = open ('personal.json', "r") data = json.loads(f.read()) count=0 for record in data['Clientes']...
Shakanrose GUI 8 4,486 Jan-18-2023, 03:42 PM
    Thread: How to insert data json to treeview tkinter?
Post: RE: How to insert data json to treeview tkinter?

Hello, thank you for your answer. If I put the following code, I can see the data I need in the terminal, but I don't know how to pass it with the treeview.insert() to my treeview table. import json...
Shakanrose GUI 8 4,486 Jan-18-2023, 02:42 AM
    Thread: How to insert data json to treeview tkinter?
Post: How to insert data json to treeview tkinter?

Hi, I'm using python for a short time and I'm getting a little complicated. What I'm looking for is that when I enter the corresponding tab, it displays the data loaded in a json, through the treeview...
Shakanrose GUI 8 4,486 Jan-17-2023, 07:26 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020