On 2008-01-16, Lutz Horn <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On Wed, 16 Jan 2008 05:29:08 -0800 (PST), [EMAIL PROTECTED] said:
>>         var = "/home/anonymous"
>>         os.system("echo $var)
>
> os.system("echo %s" % var)

Though one wonders why one would do that instead of simply doing

print var

-- 
Grant Edwards                   grante             Yow! I'm ZIPPY the PINHEAD
                                  at               and I'm totally committed
                               visi.com            to the festive mode.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to