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

jitender001001 at gmail.com jitender001001 at gmail.com
Wed Jan 16 08:29:08 EST 2008


hi all
       i m new to python and i have a problem of printing python
variable using os.system() in bash

       !/usr/bin/env python

        var = "/home/anonymous"
        os.system("echo $var)

     it is not working..
   i want to print string  using os.system() ....plz help



More information about the Python-list mailing list