Re: os.popen('alias')

2005-11-18 Thread Chris F.A. Johnson
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(): >>

Re: os.popen('alias')

2005-11-18 Thread Chris F.A. Johnson
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. > >

Re: os.popen('alias')

2005-11-18 Thread Lars Kellogg-Stedman
> 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

os.popen('alias')

2005-11-18 Thread Belebele
>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.