开发者

Convert python variables into javascript variables

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜