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

Fredrik Lundh fredrik at pythonware.com
Thu Nov 10 17:39:23 CET 2005


> (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


More information about the Python-list mailing list