0.0.2 • Published 4 years ago

python-exec v0.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

执行python脚本并返回结果。

具体使用请查阅文档

示例代码

import { execByText } from 'python-exec';

(async () => {
  const result = await execByText(`print('hello guy');`);
  console.log('result =>', result);
})();

// 运行结果:result => hello guy...

加入小组来面基~

由于本人很少上QQ,所以建的是微信群,而微信群码很快就失效,所以想进交流群的小伙伴加我微信噢~~我拉你进群,欢迎大佬们加入☺️