command substitution
Raphael Bauduin
rb at tiscali.be
Mon Jul 16 05:35:18 EDT 2001
Hi!
I was looking for a solution like in bash, which let you put the standard
output of a command in a variable(in bash, you can do it like OUT=`ls` or
OUT=$(ls) ).
If you have another way to take the standard output of a command and put it
in a variable, it would be helpfull too.
Thanks.
Raph
--
Open Source and Free Software Developers Meeting
See you at the 2002 edition. Check the 2001 sessions on
www.opensource-tv.com
Visit http://www.osdem.org and subscribe to the mailing list!
More information about the Python-list
mailing list