🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.tcl
Article #49

Re: Python

#49
From: saito
Date: Wed, 14 Oct 2026 19:44
26 lines
2127 bytes
On 10/14/2026 10:30 AM, Arjen wrote:
> 
> If it does not work, can you show us via a simple/minimal example
> how you are trying to do it?

I am getting back to it. I read thru the docs on [chan pipe]. It seems a 
powerful and flexible construct. Unfortunately no detailed explanation 
or examples exist beyond redirecting or controlling the output part.


This has syntax errors:

=======================================
lassign [chan pipe] toPy fromPy

chan configure $toPy -buffering line
chan configure $fromPy -buffering line

set fileID [open "|python.exe <$toPy 2>@ $fromPy" r]
=======================================

% couldn't read file "file52551d0": no such file or directory

where that handle is the value of "toPy"

Technical Details
Message-ID: <11aom3c$1psc4$2@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11anurd$1gcvi$2@dont-email.me> <1791983631-153@newsgrouper.org> <11anvu2$1gqhm$2@dont-email.me> <1791986169-153@newsgrouper.org> <11ao22v$1hl78$1@dont-email.me> <1791988234-153@newsgrouper.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: saito <saitology9@gmail.com>
Newsgroups: comp.lang.tcl
Subject: Re: Python
Date: Wed, 14 Oct 2026 15:44:42 -0400
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <11aom3c$1psc4$2@dont-email.me>
References: <11anurd$1gcvi$2@dont-email.me> <1791983631-153@newsgrouper.org>
 <11anvu2$1gqhm$2@dont-email.me> <1791986169-153@newsgrouper.org>
 <11ao22v$1hl78$1@dont-email.me> <1791988234-153@newsgrouper.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 14 Oct 2026 19:44:45 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1896836"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/PcXT+5Lfik7bPmvbe0pbk"; posting-host="52068a63e7435970c049b204df29410e"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:3nvmI5hleSz5pdHOU6FHgXGPoxk= sha256:A+5JFCxsAIqBx4BZyGO7yC0OjXmfgh4IbreM/2k/0Ow=
	sha1:wJ6ysnUWqzS58wi6Jp6EKbaasZU= sha256:PKWV2lKtStJzxloJmnuMw6g+iZzxkXrVwOvW0KReOLo=
Content-Language: en-US
In-Reply-To: <1791988234-153@newsgrouper.org>