passing stdin to a script

Ruslan Dautkhanov <[email protected]> Wed, 9 Mar 2016 16:24:05 -0700
Newsgroups gmane.comp.python.ipython.user
Message-ID <CACdThQ037sdy+B6MO8qgULVYokntxXN4G3H784w=uKeNCLk_DA@mail.gmail.com>
--===============6452182003398019772==
Content-Type: multipart/alternative; boundary=001a11455430a24626052da5ffc9

--001a11455430a24626052da5ffc9
Content-Type: text/plain; charset=UTF-8

Can't find in documentation how to pass stdin to a
 %%script perl
 perl code ..

I have to pass a Python list to a Perl (or a bash) script through stdin.

Was trying to use {} block
and also tried $variable but it doesn't seems to work..


-- 
Ruslan Dautkhanov

--001a11455430a24626052da5ffc9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Can&#39;t find in documentation how to pass stdin to =
a=C2=A0</div><div>=C2=A0%%script perl=C2=A0<br></div><div>=C2=A0perl code .=
.=C2=A0</div><div><br></div><div>I have to pass a Python list to a Perl (or=
 a bash) script through stdin.</div><div><br></div><div>Was trying to use {=
} block=C2=A0</div><div>and also tried $variable but it doesn&#39;t seems t=
o work..=C2=A0</div><div><br></div><div><br></div><div><div class=3D"gmail_=
signature"><div dir=3D"ltr"><div><div dir=3D"ltr">-- <br>Ruslan Dautkhanov<=
br></div></div></div></div></div>
</div>

--001a11455430a24626052da5ffc9--

--===============6452182003398019772==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
IPython-User mailing list
[email protected]
https://mail.scipy.org/mailman/listinfo/ipython-user

--===============6452182003398019772==--