🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.tcl
Article #37

Re: Python

#37
From: Arjen
Date: Wed, 14 Oct 2026 13:13
14 lines
1341 bytes
saito <saitology9@gmail.com> posted:

> I would like to start a python session, send it some simple commands and 
> get the results back. From Tcl, I have tried opening a pipe with RDWR 
> and r+ and various fconfigure/filevenets and none seem to work.
> 
> AI bot solutions end up hanging on the reading part as well.
> 
> Is this use case possible?
> 

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
Technical Details
Message-ID: <1791983631-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>

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>
Date: Wed, 14 Oct 2026 13:13:51 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Message-ID: <1791983631-153@newsgrouper.org>
Injection-Info: newsgrouper.org; mail-complaints-to="newsgrouper@yahoo.com"; posting-account=user153
Injection-Date: Wed, 14 Oct 2026 13:13:51 GMT
User-Agent: Newsgrouper/0.9.0