A Tcl/Tk programmer learns Python--any advice?

Fredrik Lundh fredrik at pythonware.com
Thu Nov 10 11:39:23 EST 2005


oops.

> (and python can not do "set result [exec someprog << $input]" as far as
> I know)

execute a script inside a list comprehension and shift it to the left
by a built-in function ?

I suspect you want:

    import subprocess

</F>






More information about the Python-list mailing list