Can someone let me know why this won't work? Thanks.
>>> from os import popen
>>> popen('export asdfasdf=hello').read()
''
>>> popen('echo $asdfasdf').read()
'\n'Thanks. Stephen -- http://mail.python.org/mailman/listinfo/python-list
Can someone let me know why this won't work? Thanks.
>>> from os import popen
>>> popen('export asdfasdf=hello').read()
''
>>> popen('echo $asdfasdf').read()
'\n'Thanks. Stephen -- http://mail.python.org/mailman/listinfo/python-list