开发者

Convert python variables into javascript variables

开发者 https://www.devze.com 2023-01-04 11:56 出处:网络
I want to use Google Chart API using javascript. (I don\'t want to use the python wrapper) So how do I send data from my python code 开发者_StackOverflowinto the javascript to create graphs?You can tr

I want to use Google Chart API using javascript. (I don't want to use the python wrapper) So how do I send data from my python code 开发者_StackOverflowinto the javascript to create graphs?


You can translate Python data to Javascript data types with JSON ( http://docs.python.org/library/json.html ). I assume you're using this alongside a Python-based web server?

0

精彩评论

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