RE: plz help how to print python variable using os.system()

2008-01-20 Thread Delaney, Timothy (Tim)
Grant Edwards wrote: > 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 wou

Re: plz help how to print python variable using os.system()

2008-01-18 Thread Grant Edwards
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

Re: plz help how to print python variable using os.system()

2008-01-17 Thread jitender001001
Thanks Lutz... -- http://mail.python.org/mailman/listinfo/python-list

Re: plz help how to print python variable using os.system()

2008-01-16 Thread Lutz Horn
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) Lutz -- GnuPG Key: 1024D/6EBDA359 1999-09-20 Key fingerprint = 438D 31FC 9300 CED0 1CDE A19D CD0F 9CA2 6EBD A359 http://dev-random.