aidanhs / libtclpy

Other
41 stars 10 forks source link

Passing Tcl channels to Python methods expecting a stream #2

Open gwlester opened 6 years ago

gwlester commented 6 years ago

It would be very nice to be able to "pass" a Tcl channel to Python methods that expect a stream as one of their arguments.

Likewise, it would be nice to have a stream that is returned by a Python method be seen on the Tcl side as a Tcl channel.