dongshi4078 2016-01-25 19:47
浏览 25

在GO中运行python脚本

Is it possible to run a python script in the go programming language? I want to be able to have a go program written, and in the beginning of it, execute a python script, then run the rest of the go program.

  • 写回答

1条回答 默认 最新

  • doumi2106 2016-01-25 20:32
    关注

    Check this out. http://go-lang.cat-v.org/library-bindings

    I really don't see any value to using bindings, you may use while migrating your application to keep step by step migration.

    In anyways when you want to use any scripting or other languages you can simply execute on the OS and can get the results like @bereal said.

    评论

报告相同问题?

悬赏问题

  • ¥15 关于大棚监测的pcb板设计
  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 lna设计 源简并电感型共源放大器
  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
  • ¥15 Vue3地图和异步函数使用
  • ¥15 C++ yoloV5改写遇到的问题
  • ¥20 win11修改中文用户名路径
  • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
  • ¥15 帮我写一个c++工程