Best way to integrate Python and JavaScript?

后端 未结 12 2430
礼貌的吻别
礼貌的吻别 2020-11-28 02:39

Is it possible to integrate Python and JavaScript? For example, imagine you wanted to be able to define classes in JavaScript and use them from Python (or vice versa). If

12条回答
  •  感情败类
    2020-11-28 02:57

    I was playing with Pyjon some time ago and seems manage to write Javascript's eval directly in Python and ran simple programs... Although it is not complete implementation of JS and rather an experiment. Get it here:

    http://code.google.com/p/pyjon/

提交回复
热议问题