Skip to content

hoangpq/pynode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running Python VM in NodeJS

Installation

Install node-gyp with npm

$ npm install -g node-gyp

You will also need to install:

  • On Unix(Ubuntu):
    • sudo apt-get install python-dev
  • On Mac OS X:
    • brew install python

Examples

How to run

$ node-gyp configure
$ node-gyp build
$ node ./main.js

or

npm run build && npm test
Result of sys.getrecursionlimit() = 1000
Result of sys.getrefcount(0) = 1
Result of pow(2, 3) = 8

Tested on OSX and Ubuntu

✨✨✨✨✨✨

About

Running PythonVM in Nodejs (Just for fun)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published