🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.tcl
Article #41

Re: Python

#41
From: Arjen
Date: Wed, 14 Oct 2026 13:56
18 lines
1679 bytes
saito <saitology9@gmail.com> posted:

> On 10/14/2026 9:13 AM, Arjen wrote:
> > 
> > You should probably have a look at Tohil - this makes the interconnection between
> > Tcl and Python quite easy. See https://wiki.tcl-lang.org/page/Accessing+Tcl+and+Python+from+one+another
> 
> I'd try it but it looks like it doesn't run on Windows yet. I would like 
> to avoid binary extensions if possible.
> 
> I am not sure how the file open modes RDWR and r+ are supposed to work. 
> Perhaps my challenge is isolating the two ends of the pipe. I am pretty 
> sure I have seen this being done but I am not sure where to start looking.
> 
I have used it on Windows (not extensively I admit), but your method with pipes 
should work as well. Have you checked the Wiki for examples? (I see Rich has 
made a similar remark)
Technical Details
Message-ID: <1791986169-153@newsgrouper.org>
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!newsgrouper.org!.POSTED!not-for-mail
References: <11anurd$1gcvi$2@dont-email.me> <1791983631-153@newsgrouper.org> <11anvu2$1gqhm$2@dont-email.me>

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!newsgrouper.org!.POSTED!not-for-mail
From: Arjen <user153@newsgrouper.org.invalid>
Newsgroups: comp.lang.tcl
Subject: Re: Python
References: <11anurd$1gcvi$2@dont-email.me> <1791983631-153@newsgrouper.org> <11anvu2$1gqhm$2@dont-email.me>
Date: Wed, 14 Oct 2026 13:56:09 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Message-ID: <1791986169-153@newsgrouper.org>
Injection-Info: newsgrouper.org; mail-complaints-to="newsgrouper@yahoo.com"; posting-account=user153
Injection-Date: Wed, 14 Oct 2026 13:56:09 GMT
User-Agent: Newsgrouper/0.9.0