Re: [indypy] use case question

From: Andrew H.
Sent on: Tuesday, February 26, 2013 3:16 PM
not a lot of details in the request, but conceptually having json as the intermediary would make a lot of sense.  have the python script return json which javascript can parse and consume.  json encoding/decoding is stock in python 2.6+.  

-andrew

On Tue, Feb 26, 2013 at 2:54 PM, Todd Grotenhuis <[address removed]> wrote:
Received this question from outside our local meetup, asking if I could share with  to the group:

"[I am b]uilding a web interface for an appliance and it looks like I'll need to do a lot of back and forth between the web interface and various .sh and .py scripts on the server. Calling a script from the page is simple...having the output of a script trigger changes in the page is a little more complicated. Basically, I have four or five interactions back-and-forth between the script and the webpage. I'm looking at JavaScript to Python, most likely. It's getting from Python back to JavaScript that I'm a little curious about. The constraint is that I don't get to install anything (but python is included). So, no extra libraries, etc."




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Todd Grotenhuis ([address removed]) from IndyPy Meetup.
To learn more about Todd Grotenhuis, visit his/her member profile
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]

Our Sponsors

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy