Monday, May 13, 2024
 Popular · Latest · Hot · Upcoming
156
rated 0 times [  157] [ 1]  / answers: 1 / hits: 24905  / 15 Years ago, mon, december 14, 2009, 12:00:00

Is there a simple way to call Python libraries from JavaScript? Especially from the inside of a Firefox extension.



A good option to compile a pure Python library would also be great. I looked at Pyjamas, but it seems to offer only partial support for Python.


More From » python

 Answers
8

You would either need a browser with builtin python support (but this is not a standard, hence it would defeat the purpose of using a webapp - if you need a special client, you can better use a classic gui), or a way to translate Python to Javascript; there three options for this at the time:




  • Pyjamas

  • Skulpt

  • PyPy



On the contrary, if you just want to extend Firefox, take a look at this:
http://pyxpcomext.mozdev.org/


[#98074] Thursday, December 10, 2009, 15 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
dontaemauricioc

Total Points: 456
Total Questions: 84
Total Answers: 99

Location: Puerto Rico
Member since Fri, Oct 14, 2022
2 Years ago
dontaemauricioc questions
Sun, Jun 14, 20, 00:00, 4 Years ago
Wed, Jul 3, 19, 00:00, 5 Years ago
Tue, Jun 18, 19, 00:00, 5 Years ago
Sat, May 25, 19, 00:00, 5 Years ago
;