Perl-like backtick in Python

Tom Verbeure tom_verbeure at hotmail.com
Fri May 3 07:22:24 EDT 2002


Ok, now I see. I mistakenly assumed that this would involve pipes and such. 

Thanks!
Tom


> > That would be very ugly, wouldn't it?
> 
> Uh, why?
> 
>  lines = os.popen("ls -l").readlines()



More information about the Python-list mailing list