Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #45087

Re: python call golang

References <CAF0POcsGa=qseuQETxRz=vmazvMmNN+U5nLC43_aX1VNaJmUKQ@mail.gmail.com>
Date 2013-05-10 08:01 +0100
Subject Re: python call golang
From Fábio Santos <fabiosantosart@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1524.1368169300.3114.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 10 May 2013 03:37, "Thanatos xiao" <yanxiaopei199@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.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: python call golang Fábio Santos <fabiosantosart@gmail.com> - 2013-05-10 08:01 +0100

csiph-web