On 2005-11-19, Chris F.A. Johnson wrote:
> On 2005-11-18, Belebele wrote:
>>>From an interactive python shell, I execute the following:
>>
>> import os
>> for line in os.popen('alias').readlines():
>>
On 2005-11-18, Belebele wrote:
>>From an interactive python shell, I execute the following:
>
> import os
> for line in os.popen('alias').readlines():
> print line
>
>
> No aliases are printed.
>
>
> import os
> for line in os.popen('alias').readlines():
> print line
>
>
> No aliases are printed.
>
> I started python from an bash environment that had many aliases
> defined. I expected to se
>From an interactive python shell, I execute the following:
import os
for line in os.popen('alias').readlines():
print line
No aliases are printed.
I started python from an bash environment that had many aliases
defined.