Skip to content

Commit

Permalink
Add import
Browse files Browse the repository at this point in the history
  • Loading branch information
bpcreech authored Feb 20, 2024
1 parent df346a6 commit f9d3d4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/post/python-nodejs-eval.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ made a _new_ thing!
<!--more-->

```python
from nodejs_eval.eval import evaluator

# Let's run some JavaScript from Python!
async with evaluator() as e:
result = await e.run("return Math.pow(7, 3);")
Expand Down

0 comments on commit f9d3d4e

Please sign in to comment.