Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
bsaber
Jul 27, 2007
​Humble Request

Problem: Not sure if this is even possible. Want to be able to edit a JSON file with a nice GUI interface. All the systems that I will be using to edit this file will have Python 3 installed so would prefer to be written in Python with Tkinter so dependencies are kept at a minimum (Needs to work on both Windows and Mac).

Description and requirements: The JSON file is a list that contains objects with varying number and types of properties. There will also be Chinese characters so needs to be able to handle that. Here's an example JSON file:

[{
"catname": "cat",
"name": "blahblahblah 胡說",
"reverse": true,
"startNumber": 444
}, {
"catname": "bat",
"name": "blahblahblah 胡說",
"reverse": true,
"startNumber": 367
}, {
"catname": "sat",
"name": "blahblahblah 胡說",
"reverse": false,
"streams": [{
"imageurl": "https://image/url/image.png",
"videourl": "https://video/url/test.m3u8"
},
{
"imageurl": "",
"videourl": "https://video/url/test.m3u8"
}
]
}]

So I would like to have the objects loaded as a list showing just the "name" property, when you double click it it'll open a new window that will allow you to edit the properties. Just the values and not the actual property names is fine, but if you can do both that'll be awesome too. A save button that confirms if you want to save the changes and an export button that exports the JSON back into the file in the main screen with the object list is all that's needed.

Nice to have features: Uses Python 3 and Tkinter. Support for Linux too would be nice. Would be awesome if there's a create button for creating a new object to add to the list. Not sure how that would look or work. Just a nice to have feature, not needed.

Adbot
ADBOT LOVES YOU

bsaber
Jul 27, 2007
Whoa cool! Thanks!

bsaber
Jul 27, 2007
Cool, thanks! I appreciate you

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply