python call golang

Fábio Santos fabiosantosart at gmail.com
Fri May 10 03:01:32 EDT 2013


On 10 May 2013 03:37, "Thanatos xiao" <yanxiaopei199 at gmail.com> wrote:
>
> Hey !
>
> Now! I have written a python script . I want to call a golang script in
python script.
> Who can give me some advices?
>
> thanks!

Check out the subprocess module. You can use it to call other programs from
python and get their error codes and output.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130510/787fd761/attachment.html>


More information about the Python-list mailing list