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


Groups > comp.lang.python > #43371 > unrolled thread

Re: Return a value from a function result

Started byChris Angelico <rosuav@gmail.com>
First post2013-04-12 00:00 +1000
Last post2013-04-12 00:00 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Return a value from a function result Chris Angelico <rosuav@gmail.com> - 2013-04-12 00:00 +1000

#43371 — Re: Return a value from a function result

FromChris Angelico <rosuav@gmail.com>
Date2013-04-12 00:00 +1000
SubjectRe: Return a value from a function result
Message-ID<mailman.475.1365688815.3114.python-list@python.org>
On Thu, Apr 11, 2013 at 7:06 PM, Ombongi Moraa Fe
<moraa.lovetakes2@gmail.com> wrote:
> My perl script "a.pl" calls python script "b.py" and passes arguments to it;
> expecting a return value;

Can you clarify this part, please? What kind of "return value" is your
Perl script expecting? Presumably you actually mean something written
to stdout; what format? How do you decode it?

Ultimately, stdout is simply a stream of bytes, though with some small
magic you can treat it as a string of characters. All its meaning is
between the sender and receiver.

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web