Skip to content

reidchan/python-exec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

执行python脚本并返回结果。

具体使用请查阅文档

示例代码

import { execByText } from 'python-exec';

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

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

加入小组来面基~

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

About

python执行器

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published