开发者

How to pass data from javascript to python?

开发者 https://www.devze.com 2022-12-12 10:26 出处:网络
I have a javascript file, on click of a submit button i n开发者_如何学运维eed to pass user information to my python exe?

I have a javascript file, on click of a submit button i n开发者_如何学运维eed to pass user information to my python exe?

From the python exe i need to load and a call a function in my vc++ dll?

Please provide me your valuable inputs?


Er - is this in a browser context? I apologize if not..

You'd probably need to use XMLHttpRequest to make an HTTP request to your server-side script and pass variables either through GET or POST.

See http://xkr.us/code/javascript/XHConn/ for a decent minimal cross-browser script.

0

精彩评论

暂无评论...
验证码 换一张
取 消