Just a suggestion: I wouldn't build the json string manually. I would use a python dict and add the key/value pairs, then let the JSON library serialize it as a json string.
It's the same idea I use only in Ruby for converting my gedcom files to tiddlers. On Thursday, August 27, 2020 at 4:24:38 PM UTC-4, Jimmy Sweeney wrote: > > Hi there, > > Would anyone have any clues why this file > <https://github.com/sweenejp/files/blob/master/The%20Dragons%20Of%20Eden%20-%20Speculations%20On%20The%20Evolution%20Of%20Human%20Intelligence.json%2C> > > isn't importing nice and cleanly into my TiddlyWiki? It imports but not > nice and clean like dragging and dropping a tiddler from another TiddlyWiki > site does. > > I'm trying to create a python script that creates tiddler files. I input > the ISBN (a book ID number essentially) and spits out a tiddler file with > the title, author, cover image, etc. > > Anyway, I based my format on the format of a Tiddler > <https://github.com/sweenejp/files/blob/master/Community.json> that I > exported from tiddlywiki.com <https://tiddlywiki.com/#Community>. > > What magic ingredients am I missing? > > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/36f1e0ce-e14f-4e5f-a53a-1c20141a02a4o%40googlegroups.com.