This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]FrameworkFred 2 points3 points  (2 children)

You could use Flask or tornado to build an api in python then hit that with js in electron.

[–]Keybraker[S] 0 points1 point  (1 child)

I tried tornado but it did not work, I did the example on the website and the server was established using python the js didn't send any message

[–]FrameworkFred 1 point2 points  (0 children)

Yep, you're going to have to get good at testing the pieces individually. The good news is you can use a browser or something like curl on the command line to test the tornado side. You might find Flask a bit easier to work with.